joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50fd90
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
mov edi, dword [ebx]
mov eax, dword [edi + 8]
test eax, eax
mov dword [esp + 0x10], eax
je 0x50ff44
mov eax, dword [0x692754]
mov ebp, dword [eax + 0x18]
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x1c]
call fcn.00432240
fld dword [0x685b60]
mov edx, dword [edi + 0x70]
fstp dword [esp + 4]
add esp, 4
lea esi, [ebx + 4]
push edx
mov eax, esi
call fcn.0050f9c0
mov edi, dword [esp + 0x18]
add esp, 8
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp word [esi + 0xe], 0
jle 0x50fe13
movzx eax, byte [esi + 0x12]
mov dl, byte [esi + 0x10]
sub al, 1
xor ecx, ecx
mov ch, al
movzx eax, byte [esi + 0xe]
sub dl, 1
sub al, 1
mov cl, dl
movzx edx, al
shl ecx, 8
or ecx, edx
mov eax, ecx
jmp 0x50fe18
mov eax, 0x10000
test ebp, ebp
fld dword [0x685b60]
fstp dword [0x685a3c]
mov dword [0x685a38], eax
jle 0x50feb6
cmp dword [0x692760], 0
je 0x50feb6
push 6
push edi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
cmp dword [0x692760], eax
jne 0x50feb6
mov ax, word [esi]
cmp ax, word [0x692734]
jne 0x50feb6
mov cx, word [ebx + 6]
cmp cx, word [0x692736]
jne 0x50feb6
mov dx, word [ebx + 8]
cmp dx, word [0x692738]
jne 0x50feb6
mov ax, word [ebx + 0xa]
cmp ax, word [0x69273a]
jne 0x50feb6
mov cx, word [ebx + 0xc]
cmp cx, word [0x69273c]
jne 0x50feb6
mov dx, word [ebx + 0xe]
cmp dx, word [0x69273e]
jne 0x50feb6
mov ax, word [ebx + 0x10]
cmp ax, word [0x692740]
jne 0x50feb6
mov cx, word [ebx + 0x18]
cmp cx, word [0x692748]
je 0x50ff44
mov eax, dword [0x692754]
lea edx, [esp + 0x18]
push edx
add ebp, 1
push ebp
lea edx, [esp + 0x1c]
call fcn.00432240
add esp, 8
test eax, eax
je 0x50ff0f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edi, [ecx + eax]
test edi, edi
je 0x50ff0f
push esi
call fcn.004e1780
mov edx, dword [0x69275c]
add esp, 4
test eax, eax
mov dword [edi], eax
mov dword [edi + 4], edx
je 0x50ff0f
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi]
mov dword [0x692760], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [0x692734], edx
mov edx, dword [esi + 0xc]
mov dword [0x692738], eax
mov eax, dword [esi + 0x10]
mov dword [0x69273c], ecx
mov cx, word [esi + 0x14]
mov dword [0x692740], edx
mov dword [0x692744], eax
mov word [0x692748], cx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x516280
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0x10
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
setl cl
lea edx, [ebx - 0x41]
cmp dx, 0x19
mov edi, ecx
ja 0x516301
mov eax, dword [0x692874]
mov esi, dword [eax + 0x18]
add esi, 1
test edi, edi
je 0x5162b5
add ebx, 0x20
test esi, esi
je 0x516301
lea esp, [esp]
mov eax, dword [0x692874]
lea ecx, [esp + 0x10]
push ecx
sub esi, 1
push esi
lea edx, [esp + 0x14]
call fcn.00432240
add esp, 8
test eax, eax
je 0x5162ea
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add eax, edx
jmp 0x5162ec
xor eax, eax
cmp word [eax + 4], bx
jne 0x5162fd
cmp dword [eax + 0x10], 0
je 0x5162fd
cmp dword [eax + 0x18], edi
je 0x51630a
test esi, esi
jne 0x5162c0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
pop edi
pop esi
mov dword [edx], ecx
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x517b80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x690ca0]
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x14]
mov esi, ecx
call fcn.00404050
xor ebx, ebx
cmp byte [esi + 0x21a], bl
mov byte [esi + 0x219], bl
jne 0x517cc0
mov ecx, dword [esi + 0x164]
mov eax, dword [ecx]
mov eax, dword [eax + 0x13c]
push ebx
lea edx, [esp + 0x1c]
push edx
call eax
test al, al
je 0x517c1d
fld qword [0x62c6f8]
fld qword [esp + 0x18]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x517c1b
mov ecx, dword [0x690c9c]
fstp qword [esp + 0x20]
xor eax, eax
cmp dword [ecx + 0x118], ebx
lea ecx, [esp + 0x20]
setne al
xor edi, edi
call fcn.0047ab00
cmp byte [esi + 0x21b], bl
jne 0x517cc0
push 8
call fcn.004c4fa0
add esp, 4
jmp 0x517cc0
fstp st(0)
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
mov ebp, dword [esi + 0x164]
xor edx, edx
cmp dword [0x6872c0], 2
mov ecx, ebp
setne dl
xor eax, eax
mov edi, edx
cmp edi, ebx
sete al
push edi
mov byte [esi + 0x21b], al
call fcn.0057239b
cmp byte [esi + 0x219], bl
mov byte [esi + 0x21b], bl
je 0x517c81
mov eax, dword [0x690ca0]
cmp eax, ebx
je 0x517c79
mov ecx, dword [esi + 0x224]
cmp ecx, dword [eax + 0x288]
je 0x517c79
mov byte [esi + 0x219], bl
cmp byte [esi + 0x219], bl
jne 0x517ca5
cmp edi, ebx
mov byte [esi + 0x21a], 1
mov ecx, ebp
je 0x517c95
push 0x6950e0
jmp 0x517c9a
push 0x6382f0
call fcn.005722a2
mov byte [esi + 0x21a], bl
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0056eb4e
cmp eax, dword [esi + 0x164]
jne 0x517cc0
mov byte [esi + 0x219], 1
mov eax, dword [esp + 0x14]
xor edx, edx
call fcn.00404050
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x517ceb
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
test ax, ax
setl dl
mov eax, edx
jmp 0x517cfd
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
cmp eax, ebx
jne 0x517d2b
call fcn.00589b56
cmp eax, ebx
je 0x517d22
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, eax
call fcn.005723bc
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, eax
call fcn.005723bc
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51a170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [0x6928c0], 0
jne 0x51a1ac
push 0xa
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x51a1b1
mov eax, dword [0x690b40]
mov ecx, dword [esp + 4]
movzx edx, word [esp + 8]
push esi
movzx esi, word [eax + ecx*4]
add esi, edx
call fcn.0057ee1a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push ecx
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
pop esi
ret
Function at 0x51a1e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [0x6928c0], 0
jne 0x51a21c
push 0xa
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
add eax, 2
mov dword [0x690b40], eax
mov dword [0x6928c0], 1
jmp 0x51a221
mov eax, dword [0x690b40]
mov ecx, dword [esp + 4]
movzx edx, word [esp + 8]
push esi
movzx esi, word [eax + ecx*4]
add esi, edx
call fcn.0057ee1a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push ecx
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
pop esi
ret

Function at 0x525150
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push 0xff
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 4], 0
lea esi, [esp + 4]
lea eax, [esp + 0x204]
je 0x5251c1
xor edx, edx
jmp 0x525190
mov ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1fe
jge 0x5251c1
movzx ecx, word [esi]
mov word [eax], cx
add eax, 2
add edx, 2
cmp cx, 0x26
jne 0x5251b8
mov word [eax], cx
add eax, 2
add edx, 2
add esi, 2
cmp word [esi], 0
jne 0x525190
lea edx, [esp + 0x204]
push edx
push edi
mov word [eax], 0
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
call fcn.005ce60a
add esp, 0x404
ret
Function at 0x52c290
Capabilities:
Log keystrokes via polling
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611128
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x67f864]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ecx], 0x4e
mov dword [ebp + 8], esi
test eax, eax
mov byte [ebp - 4], 1
jne 0x52c375
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x52c3cb
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [0x6923a8]
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
xor ebx, ebx
test ax, ax
push edx
setl bl
call edi
test eax, eax
je 0x52c323
push ebx
mov ecx, eax
call fcn.004fad20
add esp, 4
test eax, eax
mov esi, eax
mov dword [ebp + 8], esi
jne 0x52c34e
push 8
call edi
test eax, eax
je 0x52c33b
mov ecx, eax
call fcn.004fa4a0
test eax, eax
mov esi, eax
mov dword [ebp + 8], esi
jne 0x52c34e
push 0xe
call edi
test eax, eax
je 0x52c34e
mov ecx, ebx
mov esi, eax
call fcn.004fb370
mov esi, eax
test esi, esi
mov dword [ebp + 8], 0
je 0x52c36d
lea edi, [ebp + 8]
call fcn.004d6140
test eax, eax
je 0x52c36d
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x38], ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x52c37d
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x52c3cb
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov eax, dword [ebp + 0x18]
mov ebx, ecx
call fcn.004fa0a0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x531690
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x531716
mov eax, dword [esp + 0xc]
push ebx
push ebp
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x531707
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esi], eax
push ebx
je 0x531701
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
push 0xff0062
push 0
push 0
mov dword [esi + 4], eax
mov eax, dword [esi]
push eax
push ebp
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x531707
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
pop edi
mov eax, esi
pop ebp
ret 8
Function at 0x53a2b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa1c
mov eax, dword [0x67f864]
xor eax, esp
mov dword [esp + 0xa18], eax
push esi
mov esi, ecx
push 2
push esi
call fcn.005d49ac
add esp, 8
cmp eax, 0xffffffff
jne 0x53a2fc
call fcn.005cfbe0
cmp dword [eax], 0xd
jne 0x53a2fc
mov eax, 0x16
pop esi
mov ecx, dword [esp + 0xa18]
xor ecx, esp
call fcn.005ce60a
add esp, 0xa1c
ret
push 0x104
lea eax, [esp + 0x10]
push esi
push eax
call fcn.005d2055
lea ecx, [esp + 0x628]
push ecx
lea edx, [esp + 0x82c]
push edx
lea eax, [esp + 0x430]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.005d41fa
push 0x6382f0
push 0x6382f0
lea eax, [esp + 0x444]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.005d435f
add esp, 0x34
lea eax, [esp + 0x214]
push eax
push 0
push 0x643430
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x53a2e1
push 0x104
lea edx, [esp + 0x218]
push edx
push edi
call fcn.005d2055
xor esi, esi
call fcn.005cfbe0
mov dword [eax], esi
lea eax, [esp + 0x220]
push eax
call fcn.005d53d7
add esp, 0x10
test eax, eax
je 0x53a3ba
call fcn.0053a0e0
mov esi, eax
cmp esi, 0x1e
jne 0x53a3ba
mov esi, 0x20
mov ecx, dword [esp + 0xa1c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.005ce60a
add esp, 0xa1c
ret
Function at 0x53a3e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes
Timestomp file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
mov ebx, 0x16
push eax
lea ebp, [ebx - 0x15]
call esi
mov ecx, dword [esp + 0x24]
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ecx
mov edi, eax
call esi
cmp edi, 0xffffffff
mov esi, eax
jne 0x53a443
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x53a43f
cmp eax, 2
jne 0x53a4a2
xor ebp, ebp
jmp 0x53a447
test edi, edi
je 0x53a4a2
test esi, esi
je 0x53a49e
cmp esi, 0xffffffff
je 0x53a49e
test ebp, ebp
je 0x53a4e8
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x53a474
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebp, ebp
je 0x53a49c
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x53a49c
push 0
push 0
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor ebx, ebx
test ebp, ebp
je 0x53a4b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x53a4b0
lea ebx, [eax + 0x16]
test esi, esi
je 0x53a4c4
cmp esi, 0xffffffff
je 0x53a4c4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x53a4db
test ebx, ebx
jne 0x53a50d
test ebp, ebp
je 0x53a4f2
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x53a4f2
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 0x80
jmp 0x53a468
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.005d58b9
add esp, 8
test eax, eax
mov eax, 0x16
jne 0x53a50f
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x53b240
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [0x692a7c]
test eax, eax
jne 0x53b284
push 0x685a18
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x53b26a
push esi
mov dword [0x692a7c], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
ret
mov dword [0x692a7c], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
mov dword [esi + 4], 0
ret
cmp eax, 1
jne 0x53b274
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
ret
Function at 0x53b4a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, eax
xor ebp, ebp
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov esi, eax
mov dword [esp + 0x14], 0xbb8
call ebx
xor ecx, ecx
test ax, ax
setl cl
push 0x12
mov dword [esp + 0x18], ecx
call ebx
xor edx, edx
test ax, ax
setge dl
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x20], ebp
sub edx, 1
and edx, 2
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
call fcn.004b9650
add esp, 4
test eax, eax
jne 0x53b50a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0
push ecx
push edx
push eax
or edi, 0x100
push edi
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
test eax, eax
je 0x53b544
mov ecx, dword [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004b9cd0
add esp, 0x10
mov ebp, eax
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x53b551
call fcn.00432140
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x53e8a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x611a9b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x67f864]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
movzx eax, word [ecx]
xor edi, edi
cmp ax, di
jle 0x53e93a
movsx eax, ax
sub eax, 1
cmp eax, edi
jl 0x53e93e
cmp eax, dword [0x687a10]
jge 0x53e93e
imul eax, eax, 0x64
add eax, dword [0x687a0c]
push ecx
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
call fcn.004e17c0
lea ecx, [esi + 0xc]
mov dword [esi + 8], eax
add esp, 4
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
mov eax, ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x30], edi
call fcn.004e2640
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
xor eax, eax
jmp 0x53e8da
call fcn.00574b84
int3
Function at 0x57018c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x5701c5
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00570134
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004db420
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x571959
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x6382f0
mov ecx, edi
call fcn.0044bd20
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x5719ac
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x5719bf
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00570134
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004db420
jmp 0x5719bf
mov ecx, esi
call fcn.005720b1
test eax, eax
je 0x5719bf
push edi
mov ecx, eax
call fcn.0057018c
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x571fa6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x571fe9
call fcn.0057ee1a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x571fe9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x572004
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00571b60
test ebx, ebx
mov esi, eax
je 0x572002
test edi, edi
je 0x572002
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x572a77
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x607f4f
call fcn.005d62cb
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x572a9c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x572ae8
call fcn.00572ee2
push eax
lea ecx, [ebp - 0x10]
call fcn.0044bae0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0057200b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0044a9a0
mov eax, esi
call fcn.005d63a3
ret 8
Function at 0x57844d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0057ee1a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x578484
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0057805f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x5784dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x5784fc
cmp dword [edi + 0x54], 0
jne 0x5784fc
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0057ee1a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.005784a3
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x57d747
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x57d75d
mov edi, dword [esi + 0xc]
jmp 0x57d79d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x57d776
call fcn.00578cf4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x57d78b
call fcn.00578cf4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x57d79d
call fcn.00578cf4
call fcn.0057ee1a
cmp dword [eax + 0x3c], 0
je 0x57d7b2
push edi
mov ecx, ebx
call fcn.0057c43e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0057d661
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x57d7d0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x57d7dc
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5847d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x67f864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x58480d
push 0x61a3e8
push 4
push eax
call fcn.005d3a88
push eax
call fcn.0044a7b0
add esp, 0x10
jmp 0x58481f
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x58488a
push edi
call fcn.005cfbe0
mov edi, dword [eax]
call fcn.005cfbe0
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.005d37d5
add esp, 0x18
mov ebx, eax
call fcn.005cfbe0
cmp dword [eax], 0
je 0x58486a
call fcn.005cfbe0
push dword [eax]
call fcn.0056bb1a
pop ecx
jmp 0x584871
call fcn.005cfbe0
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x58488a
cmp ebx, esi
jae 0x58488a
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x58488c
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005ce60a
leave
ret