joyce8/EMBER2024-capa huggingface dataset:
Function at 0x511600
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x12c
push ebx
push ebp
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [esi + 0x78]
push edi
push edi
push 0xb
push eax
call ebx
mov ecx, dword [esi + 0x78]
push edi
push edi
push 0x184
push ecx
call ebx
mov dword [esi + 0xa0], 1
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x511645
mov eax, dword [eax]
cmp eax, edi
jne 0x51163f
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xa8], edi
call fcn.00591ee5
mov dword [esi + 0xb8], edi
mov edx, dword [esi + 0x98]
push 5
mov eax, dword [edx + 0xbc]
push eax
call dword [sym.imp.user32.dll_GetWindow]
mov ebp, eax
cmp ebp, edi
je 0x5117ea
push ebp
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
je 0x5117d7
lea ecx, [esp + 0x3c]
push 0x100
push ecx
push ebp
call dword [sym.imp.user32.dll_GetWindowTextA]
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x3c]
push edx
push edi
push 0x180
push eax
call ebx
mov ecx, dword [esi + 0x78]
push ebp
push eax
push 0x19a
push ecx
call ebx
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.user32.dll_GetWindowLongA]
test eax, 0x80000
jne 0x5116e6
mov dword [esi + 0xa0], edi
jmp 0x5117d7
push edi
push ebp
call dword [sym.imp.user32.dll_GetSystemMenu]
mov edx, eax
cmp edx, edi
jne 0x5116ff
mov dword [esi + 0xa0], edi
jmp 0x5117d7
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x2c
push eax
push 0
push 0xf060
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.user32.dll_GetMenuItemInfoA]
test eax, eax
je 0x51173e
test byte [esp + 0x1c], 3
je 0x5117d5
mov eax, dword [esi + 0xb4]
mov edi, dword [esi + 0xac]
test eax, eax
jne 0x51178d
mov ecx, dword [esi + 0xbc]
push 0xc
lea edx, [esi + 0xb8]
push ecx
push edx
call fcn.00591ec5
mov ecx, dword [esi + 0xbc]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x51178d
inc ecx
mov edx, dword [esi + 0xb4]
mov dword [eax], edx
mov dword [esi + 0xb4], eax
sub eax, 0xc
dec ecx
jne 0x511779
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
mov dword [esi + 0xb4], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov edi, dword [esi + 0xb0]
inc edi
mov dword [esi + 0xb0], edi
mov dword [eax + 8], 0
mov dword [eax + 8], ebp
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x5117c9
mov dword [ecx], eax
jmp 0x5117cf
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
xor edi, edi
push 2
push ebp
call dword [sym.imp.user32.dll_GetWindow]
mov ebp, eax
cmp ebp, edi
jne 0x51168d
mov edx, dword [esi + 0x78]
push edi
push 1
push 0xb
push edx
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret
Function at 0x527310
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
je 0x527327
mov dword [eax], 1
mov eax, dword [0x64b2b4]
test eax, eax
je 0x527369
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x527369
mov edx, dword [0x64b2b4]
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov eax, dword [edx + 0x1c]
push 0x100
push eax
call dword [sym.imp.user32.dll_SendMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.user32.dll_IsIconic]
test eax, eax
je 0x527389
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
mov eax, dword [0x64b1fc]
test eax, eax
jne 0x5274a0
mov ebx, dword [0x64b06c]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x5273f5
mov eax, ebx
mov ebx, dword [ebx]
mov esi, dword [eax + 8]
mov edx, dword [esi + 0x1c]
push edx
call fcn.005939e7
test eax, eax
je 0x5273a4
mov ecx, esi
xor edi, edi
call fcn.005b97a0
test eax, eax
jle 0x5273a4
push edi
mov ecx, esi
call fcn.005a8490
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test eax, eax
jne 0x5273ed
mov ecx, esi
inc edi
call fcn.005b97a0
cmp edi, eax
jl 0x5273c9
jmp 0x5273a4
mov dword [esp + 0x14], 1
mov esi, dword [sym.imp.user32.dll_GetAsyncKeyState]
push 0x11
mov byte [esp + 0x17], 0
call esi
test ah, 0x80
je 0x52740e
mov byte [esp + 0x13], 8
push 0x12
call esi
test ah, 0x80
je 0x52741c
or byte [esp + 0x13], 0x10
push 0x10
call esi
test ah, 0x80
je 0x52742a
or byte [esp + 0x13], 4
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edi, edi
jne 0x52746c
mov bl, byte [esp + 0x13]
mov eax, dword [ebp + 0x50]
or bl, 1
push 1
push eax
push ebx
push esi
call fcn.005072d0
add esp, 0x10
test eax, eax
jne 0x5274a0
mov ecx, dword [ebp + 0x50]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc0]
push eax
push ebx
push esi
call fcn.005072d0
add esp, 0x10
test eax, eax
jne 0x5274a0
cmp byte [esp + 0x13], 0x10
jne 0x52748e
push esi
mov ecx, ebp
call fcn.00528170
test eax, eax
je 0x52748e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
test edi, edi
je 0x5274a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5274a0
mov dword [eax], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x534840
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d635b
push eax
mov dword fs:[0], esp
sub esp, 0x528
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x534871
xor eax, eax
jmp 0x534a40
lea edi, [esi + 0x14]
push edi
call fcn.0059e929
mov ebx, dword [esp + 0x544]
lea ecx, [esp + 0xc]
push ebx
call fcn.005980a0
push 0x61e354
lea ecx, [esp + 0x10]
mov dword [esp + 0x540], 0
call fcn.0058f6e2
cmp eax, 0xffffffff
jne 0x534964
push 0x635148
lea ecx, [esp + 0x10]
call fcn.0058f6e2
cmp eax, 0xffffffff
jne 0x534964
push 0x61f0d0
lea ecx, [esp + 0x10]
call fcn.0058f6e2
cmp eax, 0xffffffff
jne 0x534964
lea eax, [esp + 0x22c]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x534964
push 0
lea ecx, [esp + 0x130]
push 0
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x238]
push edx
push eax
call fcn.004f64dc
lea ecx, [esp + 0x40]
lea edx, [esp + 0x344]
push ecx
push edx
push 0
push 0
push ebx
call fcn.004f64dc
lea eax, [esp + 0x54]
lea ecx, [esp + 0x358]
push eax
lea edx, [esp + 0x158]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x464]
push eax
push ecx
call fcn.004f6257
add esp, 0x3c
lea edx, [esp + 0x430]
lea ecx, [esp + 0xc]
push edx
call fcn.005981bb
call fcn.005b2355
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 8]
push 0x3010
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.user32.dll_LoadImageA]
test eax, eax
mov dword [edi], eax
jne 0x5349a4
lea ecx, [esp + 0xc]
mov dword [esp + 0x53c], 0xffffffff
call fcn.00598032
xor eax, eax
jmp 0x534a40
lea edx, [esp + 0x14]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
test eax, eax
jne 0x5349dd
mov eax, dword [edi]
push eax
call dword [sym.imp.gdi32.dll_DeleteObject]
lea ecx, [esp + 0xc]
mov dword [edi], 0
mov dword [esp + 0x53c], 0xffffffff
call fcn.00598032
xor eax, eax
jmp 0x534a40
lea ecx, [esp + 0xc]
mov ebx, 1
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], ebx
call fcn.0059816b
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
test bl, al
je 0x534a07
mov dword [esi + 0x8c], ebx
cmp word [esp + 0x26], 8
jbe 0x534a1c
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.005364d0
mov ecx, esi
call fcn.00535340
mov ecx, esi
call fcn.005367e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x53c], 0xffffffff
call fcn.00598032
mov eax, ebx
mov ecx, dword [esp + 0x534]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x534
ret 4
Function at 0x537200
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x635528]
push esi
test eax, eax
je 0x5372ca
cmp dword [0x635834], 0xfffffffe
jne 0x5372b2
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
je 0x5372ca
mov cl, byte [0x64b478]
mov al, 1
test al, cl
jne 0x537255
mov dl, cl
mov ecx, 0x64b458
or dl, al
mov byte [0x64b478], dl
call fcn.005372d0
push 0x537360
call fcn.004f609e
add esp, 4
push 0x64b460
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push 0
push 0
push 0x5371a0
call fcn.004f990c
add esp, 0xc
mov dword [0x64b47c], eax
test eax, eax
jbe 0x53729b
cmp eax, 0xffffffff
je 0x53729b
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0x64b460
mov dword [0x635834], esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
ret
push 0x64b460
mov dword [0x64b47c], 0
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
ret
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
mov dword [0x635834], eax
jne 0x5372ca
mov dword [0x64b47c], 0
pop esi
ret
Function at 0x5437e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5d7bee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5f54f8
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x14], 2
call dword [eax + 0x58]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x543827
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, edi
mov byte [esp + 0x14], 1
call fcn.00516260
lea ecx, [esi + 8]
mov byte [esp + 0x14], 0
call fcn.00598032
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x551380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d86fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push esi
push edi
mov esi, ecx
push eax
push 0x3f05
mov dword [esp + 0x10], esi
call fcn.00597905
lea edi, [esi + 0x5c]
mov dword [esp + 0x2c], 0
mov ecx, edi
call fcn.00593595
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0x98]
mov byte [esp + 0x2c], 1
mov ecx, edi
call fcn.00593595
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0xd4]
mov byte [esp + 0x2c], 2
mov ecx, edi
call fcn.00593595
mov dword [edi], vtable.CStatic.0
push esi
lea ecx, [esi + 0x110]
mov byte [esp + 0x30], 3
call fcn.0054ff70
mov ecx, dword [esp + 0x34]
lea edi, [esi + 0x1f4]
mov dword [esi + 0x1c4], ecx
mov ecx, edi
mov byte [esp + 0x2c], 4
call fcn.005b6590
mov dword [edi], 0x5f7168
lea ecx, [esi + 0x8a8]
mov byte [esp + 0x2c], 5
call fcn.00548d80
mov eax, dword [esi + 0x1c4]
lea edx, [esp + 0xc]
mov dword [esi], method.CDialog.virtual_0
push edx
mov ecx, dword [eax + 4]
push 0x18
push ecx
call dword [sym.imp.gdi32.dll_GetObjectA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1c8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
mov dword [esi + 0x1cc], ecx
jne 0x55147d
mov eax, dword [esp + 0x1e]
and eax, 0xffff
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1d0], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x55c4d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.gdi32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004f5aa0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x55c59b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.user32.dll_GetWindowTextA]
test eax, eax
je 0x55c59b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x55c54e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x55c559
or bh, 8
and edi, 0x8000000
je 0x55c574
mov eax, dword [0x65567c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.gdi32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.user32.dll_DrawTextA]
test edi, edi
je 0x55c59b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.gdi32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55c970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x55c99b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x55c9bf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x55c9da
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.user32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.gdi32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
push ebp
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x589e4c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x589e76
test ecx, ecx
jne 0x589e80
test edx, edx
jne 0x589e80
mov eax, edi
jmp 0x589eec
cmp eax, 0xffffffff
jne 0x589e80
push 0xfffffffffffffffe
pop eax
jmp 0x589eec
mov edx, dword [esi + 0x24]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x589eec
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.004f7e60
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x589eb1
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x589ed0
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x589f47
push eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
add eax, dword [esi + 0x30]
push eax
push ecx
call fcn.00589f4c
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x589f33
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x589f47
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x589e58
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5943d1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x594409
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005984d9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005984b1
jmp 0x594415
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x594419
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x64a120
mov ecx, edi
call fcn.005981bb
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x59446c
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x59447f
push esi
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.005984d9
push eax
push esi
call dword [sym.imp.user32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.005984b1
jmp 0x59447f
mov ecx, esi
call fcn.00596977
test eax, eax
je 0x59447f
push edi
mov ecx, eax
call fcn.005943d1
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x5960ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x59612f
call fcn.005b2355
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x59612f
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x596126
xor eax, eax
jmp 0x596137
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0059613d
pop edi
pop esi
pop ebx
ret 4

Function at 0x5975f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x597617
cmp dword [edi + 0x3c], 0
jne 0x597617
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005b2355
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00597644
pop edi
pop esi
pop ebx
ret 8

Function at 0x597692
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005b2355
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x5976c3
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005976d6
pop edi
pop esi
pop ebx
ret 8
Function at 0x5b423f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.005b2355
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x5b427c
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x5b427c
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov esi, eax
test esi, esi
jne 0x5b4280
xor eax, eax
jmp 0x5b42fe
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00596900
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x5b42b8
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x5b42a2
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.005b43ef
push ebx
mov edi, eax
call fcn.00596929
test edi, edi
pop ecx
je 0x5b42fa
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.005b41b8
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.005b4303
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x548c50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf0000]
push edi
or ebp, 0xffffffff
jmp 0x548c72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x548c79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x548c68
mov eax, 1
add ebx, ebx
jne 0x548c8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x548c80
jne 0x548c9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x548c80
xor ecx, ecx
sub eax, 3
jb 0x548cb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x548d22
mov ebp, eax
add ebx, ebx
jne 0x548cbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x548cc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x548cec
inc ecx
add ebx, ebx
jne 0x548cd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x548ccd
jne 0x548ce9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x548ccd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x548d0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x548cfd
jmp 0x548c6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x548d0c
add edi, ecx
jmp 0x548c6e
pop esi
mov edi, esi
mov ecx, 0x1cd9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x548d2a
cmp byte [edi], 0x13
jne 0x548d2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x548d2f
lea edi, [esi + 0x146000]
mov eax, dword [edi]
or eax, eax
je 0x548da7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14dbb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14dbf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x548d5c
mov ecx, edi
jns 0x548d8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14dbf8]
or eax, eax
je 0x548da1
mov dword [ebx], eax
add ebx, 4
jmp 0x548d79
call dword [esi + 0x14dc08]
mov ebp, dword [esi + 0x14dbfc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x548ddb
sub esp, 0xffffff80
jmp 0x4069f0