joyce8/EMBER2024-capa huggingface dataset:
Function at 0x609f67
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
push edi
mov edi, dword [esp + 0x74]
mov ebx, ecx
mov dword [esp + 0x18], ebx
test edi, edi
je 0x60a18a
fld1
fst dword [esp + 0x14]
fld qword [0x730468]
fst qword [esp + 0x64]
fld qword [0x6e0cc8]
fstp qword [esp + 0x24]
fld qword [0x730498]
fstp qword [esp + 0x2c]
fld qword [0x7304a0]
fstp qword [esp + 0x34]
fldz
fstp dword [esp + 8]
fld qword [0x7304a8]
fst qword [esp + 0x1c]
fld qword [0x7304c8]
fstp qword [esp + 0x4c]
fld qword [0x730470]
fstp qword [esp + 0x54]
fld qword [0x730460]
push ebp
mov ebp, dword [esp + 0x74]
fstp qword [esp + 0x60]
push esi
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x18], esi
lea eax, [esi + 1]
mov dword [ebx + 0xc], eax
cmp esi, 0x56220
jb 0x609ffc
xor ecx, ecx
jmp 0x60a172
fxch st(2)
fstp dword [esp + 0x7c]
cmp esi, 0x35d54
jae 0x60a04d
mov dword [esp + 0x7c], esi
fstp st(1)
fild dword [esp + 0x7c]
test esi, esi
jns 0x60a01e
fadd dword [0x6e1380]
fstp dword [esp + 0x7c]
fmul dword [esp + 0x7c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
call fcn.00688500
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fld qword [esp + 0x2c]
fmul st(1), st(0)
fsubrp st(1)
fstp dword [esp + 0x7c]
fld qword [esp + 0x24]
jmp 0x60a04f
fstp st(0)
fld dword [esp + 0x7c]
lea esi, [ebx + 0x54]
fst qword [esp + 0x4c]
fld st(0)
xor ebx, ebx
fmul qword [esp + 0x34]
fsubr qword [esp + 0x3c]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fstp dword [esp + 0x7c]
jmp 0x60a076
fxch st(1)
fld dword [ebx + 0x7302b8]
fld dword [ebx + 0x730270]
fsub st(1)
fmulp st(2)
faddp st(1)
fadd dword [esi]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fst dword [esi]
fst qword [esp + 0x44]
fmulp st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
call fcn.00688500
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [esp + 0x14]
fadd qword [esp + 0x44]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
call fcn.00688500
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
add ebx, 4
fadd dword [esp + 0x7c]
add esi, 4
fstp dword [esp + 0x7c]
fld qword [esp + 0x4c]
fld qword [esp + 0x24]
cmp ebx, 0x48
jl 0x60a074
mov esi, dword [esp + 0x18]
fstp st(1)
fstp st(0)
fld dword [esp + 0x7c]
fmul qword [esp + 0x54]
fstp dword [esp + 0x7c]
cmp esi, 0x2b11
jae 0x60a123
mov dword [esp + 0x78], esi
fild dword [esp + 0x78]
test esi, esi
jns 0x60a115
fadd dword [0x6e1380]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul qword [esp + 0x5c]
jmp 0x60a14e
cmp esi, 0x40998
jbe 0x60a156
mov eax, 0x56220
sub eax, esi
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
jns 0x60a142
fadd dword [0x6e1380]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul qword [esp + 0x64]
fmul dword [esp + 0x7c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
call fcn.0066c5f0
fld dword [esp + 0x1c]
fld qword [esp + 0x6c]
fld qword [esp + 0x24]
mov ebx, dword [esp + 0x20]
movzx ecx, ax
mov word [ebp], cx
lea ebp, [ebp + 2]
sub edi, 1
jne 0x609fe0
fstp st(2)
fstp st(0)
pop esi
fstp st(0)
pop ebp
pop edi
pop ebx
add esp, 0x64
ret 8
Function at 0x60a5e7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x25
mov edi, ecx
call esi
cwde
push 0x27
mov dword [ebp - 4], eax
call esi
cwde
push 0x26
mov dword [ebp - 8], eax
call esi
cwde
push 0x28
mov dword [ebp - 0xc], eax
call esi
cmp byte [edi + 0x14], 1
movsx ebx, ax
jne 0x60a65b
test byte [ebp - 4], 1
je 0x60a62e
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.0060a59f
test byte [ebp - 8], 1
je 0x60a63f
push 0
push 1
mov ecx, edi
call fcn.0060a59f
test byte [ebp - 0xc], 1
je 0x60a64e
push 1
mov ecx, edi
call fcn.0060a9b1
test bl, 1
jne 0x60a657
test ebx, ebx
jns 0x60a65b
mov byte [edi + 0x15], 0xa
cmp byte [edi + 0x16], 0
jne 0x60a675
inc byte [edi + 0x15]
cmp byte [edi + 0x15], 0xa
jb 0x60a675
mov ecx, edi
mov byte [edi + 0x15], 0
call fcn.0060a384
pop edi
pop esi
pop ebx
leave
ret

Function at 0x60b7ed
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
call fcn.00462ade
push dword [edi + 4]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x3c], edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi]
mov esi, eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push esi
call dword [edx + 0x24]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [edi + 0x104], 0
je 0x60b884
push 0x50
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x60b85e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [edi + 4]
jne 0x60b85e
xor byte [edi + 0x122], 1
lea ecx, [edi + 0x10c]
call fcn.0060a5e7
mov eax, dword [edi + 0x124]
cmp eax, dword [edi + 0x108]
je 0x60b884
mov ecx, edi
mov dword [edi + 0x108], eax
call fcn.0060abee
pop edi
pop esi
leave
ret 4
Function at 0x60cf91
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
mov byte [ebp - 4], 0
je 0x60cfbc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x60cfb8
mov byte [ebp - 4], 1
test al, 0x10
jne 0x60cfbc
mov byte [ebp - 4], 0
push dword [ebp - 4]
mov ecx, esi
push 0x51d
call fcn.005a3a83
push dword [ebp - 4]
mov ecx, esi
push 0x51e
call fcn.005a3a83
pop esi
leave
ret 4

Function at 0x60df92
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10b8
call section..text
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
cmp dword [eax + 8], 0xfffffffe
je 0x60dfb5
cmp dword [eax + 8], 0xfffffffc
jne 0x60e004
add eax, 0xc
push 0x10b8
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.0066d9b0
add esp, 0xc
push 0x5d4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], eax
jne 0x60e004
cmp dword [ebp - 0x10b4], 0
jne 0x60e004
push 5
xor ecx, ecx
lea eax, [ebp - 0x1048]
push ecx
push ecx
push eax
push 0x6d74e4
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret 4

Function at 0x61036f
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x210
push ebp
push edi
push dword [esp + 0x21c]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
lea eax, [esp + 8]
push eax
push dword [esp + 0x220]
push edi
call fcn.005a1f43
mov ecx, dword [esp + 0x220]
test ecx, ecx
jne 0x6103be
push 0xfe
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x224]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x14]
xor ebp, ebp
sub eax, dword [esp + 0xc]
push ebp
push dword [0x7f6a14]
push ebp
push edi
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x244]
push dword [esp + 0x24]
or eax, 0x50010000
push eax
push ecx
push 0x6d8dcc
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
mov eax, dword [esp + 0x224]
test eax, eax
jne 0x61041b
push ebp
push ebp
push 0x31
push dword [esp + 0x228]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
pop edi
pop ebp
add esp, 0x210
ret 0x10

Function at 0x6116d3
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [eax], ecx
je 0x6116f1
push 5
push ecx
push ecx
add eax, 0x7c
push eax
push 0x6d74e4
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret 4
Function at 0x612e59
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x38]
cmp eax, 1
je fcn.00611243
test eax, eax
jne 0x612e6a
inc eax
push 0
push 3
push eax
mov dword [ecx + 0x38], eax
call fcn.00612e8f
ret 4

Function at 0x613edd
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x6cc283
call fcn.0066bd6c
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00428f20
push dword [ebp + 0xc]
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
call fcn.00428f20
push dword [ebp + 0x10]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00428f20
push 7
pop ecx
xor eax, eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], ecx
mov word [esi + 0x48], ax
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], ecx
mov word [esi + 0x60], ax
mov dword [esi + 0x78], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], ecx
mov word [esi + 0x78], ax
mov dword [esi + 0x90], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], ecx
mov word [esi + 0x90], ax
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], ecx
mov word [esi + 0xa8], ax
mov dword [esi + 0xc0], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], ecx
mov word [esi + 0xc0], ax
mov dword [esi + 0xd8], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], ecx
mov word [esi + 0xd8], ax
mov dword [esi + 0xf0], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], ecx
mov word [esi + 0xf0], ax
push edi
push edi
mov ecx, esi
mov byte [ebp - 4], 0xa
mov dword [esi + 0x114], edi
call fcn.006abeab
push edi
mov ecx, esi
call fcn.006abe9e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x614c41
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
push ebx
push ebx
or dword [esi], 0xffffffff
push 3
push ebx
push 3
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x614c6e
xor eax, eax
jmp 0x614ca2
push ebx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push 0xc
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x614c93
mov eax, dword [ebp - 8]
mov dword [esi], eax
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
cmp dword [esi], 0xffffffff
setne al
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x61e834
Capabilities:
Capture screenshot

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x158
mov byte [esi + 0x85], 1
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x40]
cdq
idiv edi
mov ecx, dword [esi + 0x4c]
dec eax
cmp ecx, eax
jae 0x61e872
lea eax, [ecx + 1]
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.0061e482
mov ecx, esi
call fcn.005a3b19
pop edi
mov ecx, esi
pop esi
jmp fcn.0061f2be
pop edi
pop esi
ret
Function at 0x61f2be
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x20]
push edi
mov ebx, ecx
push eax
push dword [ebx + 0x50]
call esi
lea eax, [esp + 0x54]
push eax
push dword [ebx + 4]
call esi
lea eax, [esp + 0x54]
push eax
push dword [ebx + 0x50]
call fcn.005a7c99
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
push dword [ebx + 0x50]
sub esi, dword [esp + 0x28]
sub edi, dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_GetDC]
cmp dword [ebx + 0x38], 0
mov ebp, eax
jne 0x61f319
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x38], eax
push dword [ebx + 0x3c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebx + 0x38]
mov dword [ebx + 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push ebp
push edi
push esi
xor ebp, ebp
mov dword [esp + 0x28], eax
push ebp
push ebp
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebx + 0x44]
mov edi, 0x158
mov ecx, dword [ebx + 0x40]
sub eax, ecx
cdq
idiv edi
mov esi, dword [ebx + 0x4c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
cmp eax, esi
jbe 0x61f3bf
imul eax, esi, 0x158
lea edi, [esp + 0x34]
lea esi, [ecx + 0x54]
add esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
lea esi, [esp + 0x44]
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x14]
mov edx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
sub eax, edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [0x747294]
lea esi, [esp + 0x14]
sub esp, 0x10
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [esp]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
call fcn.005a4968
push dword [esp + 0x10]
push dword [ebx + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x62e997
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push dword [esp + 0x14]
mov ebp, ecx
xor bl, bl
push dword [esp + 0x14]
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
jne 0x62e9bf
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor al, al
jmp 0x62ea24
push edi
push esi
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
jne 0x62e9d4
xor al, al
jmp 0x62ea23
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [esp + 0x18], eax
test eax, eax
je 0x62ea1a
push esi
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp dword [esp + 0x1c], 0
jne 0x62e9fc
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x62ea18
mov ecx, eax
mov eax, dword [esp + 0x20]
cmp dword [eax], ecx
jl 0x62ea1a
push dword [eax]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.0066d9b0
add esp, 0xc
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x62eda4
Capabilities:
Hide graphical window

Disassembly:
push 0x6b0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x62ee3d
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, ecx
mov eax, dword [edx + 8]
sub eax, 0x6b0
je 0x62eeb4
sub eax, 1
je 0x62ee6b
dec eax
sub eax, 1
je 0x62ee6b
sub eax, 0x95
je 0x62ee8f
sub eax, 1
je 0x62ee6b
sub eax, 1
je 0x62ee6b
sub eax, 1
jne 0x62eed7
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x62eed7
cmp dword [ecx + 8], 0x701
jne 0x62eed7
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov dword [esi + 0x60], eax
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
mov dword [esi + 0x64], eax
jmp 0x62eed7
mov eax, dword [edx + 0xc]
test eax, eax
je 0x62eed7
cmp dword [eax + 8], 0xfffffffe
jne 0x62eed7
push 5
xor ecx, ecx
add eax, 0x7c
push ecx
push ecx
push eax
push 0x6d74e4
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x62eed7
mov eax, dword [edx + 0xc]
test eax, eax
je 0x62eed7
cmp dword [eax + 8], 0xfffffffe
jne 0x62eed7
xor ecx, ecx
mov dword [esi + 0x5c], 2
push ecx
push ecx
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret 4
Function at 0x632395
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6cdb7b
call fcn.0066bd6c
sub esp, 0x4c
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
sub eax, 1
je 0x6323cf
sub eax, 1
je 0x6323cf
sub eax, 0x76a
je 0x6323cf
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00631a81
jmp 0x632531
cmp dword [ebp + 8], 0x76c
push edi
jne 0x6324e5
and dword [ebp - 0x40], 0
and dword [ebp - 0x30], 0
push 0xf
pop edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], 0
mov eax, dword [esi + 0x88]
mov byte [ebp - 4], 1
sub eax, 0
je 0x63240c
sub eax, 1
jne 0x63241b
push 9
push str.lrecBadAd
jmp 0x632413
push 7
push str.ftBadAd
lea ecx, [ebp - 0x40]
call fcn.0040fe77
and dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x18], 0
push 0xa
push str.BAdSendBtn
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
call fcn.0040fe77
push 0
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004974ee
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x632487
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x63247e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x14], edi
push eax
push eax
push eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x14
call fcn.004814dd
lea ecx, [ebp - 0x58]
call fcn.004102c8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x6324e5
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x6324dc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0
call fcn.006328ca
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
jb 0x632507
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x8c]
push eax
mov ecx, edi
call fcn.00427613
cmp dword [edi + 0x14], 8
jb 0x63251d
mov edi, dword [edi]
push edi
push dword [ebp + 8]
push dword [esi + 0x40]
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
lea ecx, [ebp + 0x10]
call fcn.0042756c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x20
Function at 0x63bde7
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x63bf10
push ebx
mov ebx, dword [esp + 0x5c]
lea eax, [esi + 0x1a8]
push edi
push 1
push eax
movzx eax, byte [0x7c0cd0]
mov ecx, ebx
mov edx, dword [ebx]
push eax
push 1
call dword [edx + 0x11c]
xor edi, edi
lea ecx, [ebx + 0x19c]
mov dword [esp + 0xc], edi
cmp dword [ebx + 0x1ac], edi
jbe 0x63bf0e
push ebp
lea ebp, [esi + 0x1a0]
mov dword [esp + 0x14], ebp
mov eax, dword [ebx + 0x1a8]
add eax, edi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00424bf2
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0048e284
lea ecx, [eax + 0x7f]
call fcn.004647b6
push eax
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.0063acdf
lea ecx, [ebx + 0x19c]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
mov ebp, dword [eax]
mov eax, dword [ebx + 0x1a8]
add eax, edi
mov dword [esp + 0x24], eax
call fcn.00424bf2
mov ecx, eax
call fcn.0048e284
mov ebx, eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebx + 0x7f]
call fcn.004647b6
mov esi, eax
lea edi, [ebp + 0x24]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov al, byte [ebx + 0x5d]
shr al, 5
xor al, byte [ebp + 0x39]
and al, 4
mov edi, dword [esp + 0x10]
xor byte [ebp + 0x39], al
mov cl, byte [ebx + 0x5c]
mov al, byte [ebp + 0x39]
and al, 0xfe
shr cl, 7
or cl, al
mov byte [ebp + 0x39], cl
mov al, byte [ebx + 0x5f]
shr al, 5
xor al, cl
and al, 2
xor al, cl
mov byte [ebp + 0x39], al
mov al, byte [ebx + 0x5c]
mov ebx, dword [esp + 0x64]
and al, 0x1f
inc edi
mov byte [ebp + 0x38], al
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], edi
lea ecx, [ebx + 0x19c]
cmp edi, dword [ebx + 0x1ac]
jb 0x63be3a
pop ebp
pop edi
pop ebx
pop esi
add esp, 0x50
ret 4
Function at 0x63d738
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6b4426
call fcn.0066bd6c
sub esp, 0x34
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, ecx
push edi
push 0x767
push dword [esi + 4]
mov byte [esi + 0x88], bl
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x216
push dword [esi + 0x90]
push dword [esi + 0x8c]
push 0
push 0
push dword [esi + 0x84]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 0x90]
mov ecx, esi
push dword [esi + 0x8c]
call fcn.005a383e
mov ecx, esi
call fcn.005a39bc
xor eax, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x94]
push eax
call fcn.00410204
and dword [ebp - 4], 0
test bl, bl
je 0x63d7ce
push 8
push str._prefs1
lea ecx, [ebp - 0x40]
call fcn.0041001f
mov ecx, dword [esi + 0x38]
call fcn.0057ded1
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push 0x75bbfe
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0040fe77
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push 0
push 1
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.0057e8df
mov eax, dword [ebp - 0x14]
mov edi, 0x1000
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x63d849
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, edi
jb 0x63d840
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
test bl, bl
jne 0x63d852
cmp byte [ebp + 0xc], bl
je 0x63d889
movzx eax, byte [esi + 0x80]
push eax
push dword [esi + 4]
push dword [esi + 0x84]
call fcn.006328ca
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x38]
call fcn.005810bb
push 0
push dword [0x7d36fc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x63d8bb
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, edi
jb 0x63d8b2
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x63f775
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, 0x7fca44
mov dword [0x7fca40], eax
mov eax, dword [ebp + 8]
cmp eax, ecx
je 0x63f799
push dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
call fcn.0057aef4
mov al, byte [ebp + 0x10]
mov byte [0x7fca50], al
lea eax, [ebp + 0xc]
push eax
xor eax, eax
push eax
push 0x7fca40
push 0x640137
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x7fca3c], eax
pop ebp
ret 0xc