joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455b40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x455b8c
mov eax, esi
call fcn.0046bd98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x455b8c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x455b8c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x455ccb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x455bcc
cmp eax, 0x108
ja 0x455bcc
mov eax, esi
call fcn.0046bd98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x455cc2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x455ccb
jmp 0x455cc2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x455cab
cmp eax, 0x20a
ja 0x455cab
test byte [esi + 0x50], 0x80
jne 0x455bfe
sub eax, 0x203
je 0x455bfb
sub eax, 3
je 0x455bfb
sub eax, 3
jne 0x455bfe
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x455c12
dec eax
je 0x455c27
dec eax
je 0x455c44
dec eax
je 0x455c27
jmp 0x455c4b
mov ecx, ebx
mov eax, dword [0x53f2a8]
mov eax, dword [eax]
mov edx, esi
call fcn.0047568c
jmp 0x455cc2
cmp byte [esi + 0x5d], 1
jne 0x455c3d
mov eax, esi
mov si, 0xffed
call fcn.004037c0
jmp 0x455ccb
or word [esi + 0x54], 1
jmp 0x455cc2
and word [esi + 0x54], 0xfffe
jmp 0x455cc2
mov eax, dword [0x540b54]
cmp byte [eax + 0x20], 0
je 0x455cc2
mov eax, dword [0x540b54]
cmp dword [eax + 0x1c], 0
je 0x455cc2
mov eax, dword [ebx]
mov edx, dword [0x540b54]
cmp eax, dword [edx + 0x1c]
jne 0x455cc2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0046bcdc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004037c0
jmp 0x455ccb
cmp eax, 0xb00b
jne 0x455cc2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00454460
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459238
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x459254
cmp dword [esi + 4], 0
je 0x459281
test byte [ebx + 0x55], 1
jne 0x459273
mov eax, ebx
call fcn.00457dd8
test eax, eax
jne 0x459273
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x459391
mov edx, esi
mov eax, ebx
call fcn.00458d5c
jmp 0x459391
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45938a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045b0a8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00455a74
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00459238
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045b0a8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459391
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fad4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x53f6bc]
cmp byte [eax + 0xc], 0
je 0x45fc41
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45fc3a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x540ba8], 0
jne 0x45fb28
push 0x45fc48
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45fc50
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540ba8], eax
cmp dword [0x52ce98], 0
jne 0x45fc23
push 0x45fc60
call sub.kernel32.dll_LoadLibraryA
mov dword [0x52ce98], eax
cmp dword [0x52ce98], 0
je 0x45fc23
push 0x45fc6c
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bac], eax
push 0x45fc7c
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bb0], eax
push 0x45fc90
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bb4], eax
push 0x45fca8
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bb8], eax
push 0x45fcc0
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bbc], eax
push 0x45fcd4
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bc0], eax
push 0x45fcec
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bc4], eax
push 0x45fd04
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bc8], eax
push 0x45fd20
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bcc], eax
push 0x45fd2c
mov eax, dword [0x52ce98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x540bd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fc41
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x464328
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404414
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x464377
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404694
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46bc4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46bc9c]
test si, 4
je 0x46bc60
or bl, 1
test si, 8
je 0x46bc6a
or bl, 4
test si, 1
je 0x46bc74
or bl, 8
test si, 2
je 0x46bc7e
or bl, 0x10
test si, 0x10
je 0x46bc88
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bc97
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46bca0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46bcd8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bcb9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bcc8
or bl, 4
test esi, 0x20000000
je 0x46bcd3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x472380
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x472392
add esp, 0xfffffff0
call fcn.00403928
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423950
mov eax, dword [0x53ee0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x472724
mov eax, dword [0x53ee24]
mov dword [eax + 4], ebx
mov dword [eax], 0x472730
mov eax, ebx
call fcn.0047273c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41824c]
call fcn.00403594
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41824c]
call fcn.00403594
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41824c]
call fcn.00403594
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41824c]
call fcn.00403594
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41824c]
call fcn.00403594
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x46eb58
push eax
push 0
push 0
mov eax, dword [0x53f16c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4253f8]
call fcn.00426b6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4253f8]
call fcn.00426b6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4253f8]
call fcn.00426b6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00472bec
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472a80
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472a80
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472a80
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4724cf
call fcn.00403980
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x472864
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472a0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4729f0
mov dl, 1
mov eax, dword [0x4188b0]
call fcn.00403594
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404414
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4729df
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045fe34
test al, al
je 0x4729d2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x472a20
lea eax, [ebp - 0x254]
call fcn.0040a228
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4729d2
xor eax, eax
push ebp
push 0x4729cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x472a58
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4729b4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404694
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4729b4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4729d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4728d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d344
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472a16
lea eax, [ebp - 0x260]
call fcn.00404414
ret

Function at 0x47338c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x540bf4]
cmp byte [eax + 0xa5], 0
jne 0x4733fd
cmp dword [0x540c0c], 0
jne 0x4733be
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x473348
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x540c0c], eax
cmp dword [0x540c08], 0
jne 0x4733d9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x540c08], eax
cmp dword [0x540c10], 0
jne 0x4733fd
push esp
push 0
push 0
push 0x4732ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x540c10], eax
pop edx
ret
Function at 0x4734f4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47350b
add esp, 0xfffffff0
call fcn.00403928
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423950
mov eax, dword [0x53f13c]
cmp word [eax + 2], 0
jne 0x473533
mov eax, dword [0x53f13c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00474c74
mov eax, dword [0x53f30c]
cmp word [eax + 2], 0
jne 0x47354d
mov eax, dword [0x53f30c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00474e6c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41824c]
call fcn.00403594
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41824c]
call fcn.00403594
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425ed8]
call fcn.0042db08
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4736d4
mov eax, dword [0x53ef1c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ded8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47541c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x53ef1c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e0d8
test eax, eax
je 0x473642
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409bb4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e100
test eax, eax
je 0x473656
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404694
mov eax, dword [0x53eb98]
cmp byte [eax], 0
jne 0x47368a
mov eax, ebx
call fcn.004737fc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004755f8
mov eax, ebx
call fcn.00475fbc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4736ca
call fcn.00403980
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473a7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x540bf4]
cmp dword [eax + 0x30], 0
je 0x473b26
cmp dword [ebx + 0x94], 0
jne 0x473b20
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x473a0c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x473b20
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x473ae6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x473b20
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ab7c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x473af5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x474688
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4746bd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404504
jmp 0x4746ca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404468
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4757d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x475815
mov eax, esi
call fcn.0045b3ac
test al, al
je 0x475815
mov eax, dword [ebx + 0x84]
call fcn.0045b0a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x475815
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045b0a8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47abec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ae46
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00480010
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x52e6c0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x52e6c4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x52e6c8], eax
mov eax, dword [0x53f6a0]
cmp dword [eax], 2
sete byte [0x52de58]
push 0x47ae54
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047da08
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x52de58], 0
jne 0x47ac7b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047db4c
test al, al
je 0x47ac7b
mov eax, dword [ebp - 0x4c]
mov dword [0x540c74], eax
jmp 0x47ac82
xor eax, eax
mov dword [0x540c74], eax
call fcn.0047a360
and eax, 0x7f
cmp eax, 0x1a
ja case.0x47ac93.0
jmp dword [eax*4 + 0x47ac9a]
mov byte [0x52de44], 1
jmp case.0x47ac93.0
mov byte [0x52de48], 1
jmp case.0x47ac93.0
mov byte [0x52de4c], 1
jmp case.0x47ac93.0
mov byte [0x52de50], 1
jmp case.0x47ac93.0
mov byte [0x52de54], 1
jmp case.0x47ac93.0
mov byte [0x52de5c], 1
mov byte [0x52de60], 1
jmp case.0x47ac93.0
mov byte [0x52de5c], 1
mov byte [0x52de64], 1
jmp case.0x47ac93.0
mov byte [0x52de5c], 1
mov byte [0x52de64], 1
mov byte [0x52de68], 1
jmp case.0x47ac93.0
mov byte [0x52de6c], 1
jmp case.0x47ac93.0
mov byte [0x52de70], 1
jmp case.0x47ac93.0
mov byte [0x52de74], 1
jmp case.0x47ac93.0
mov byte [0x52de78], 1
jmp case.0x47ac93.0
mov byte [0x52de7c], 1
jmp case.0x47ac93.0
mov byte [0x52de80], 1
jmp case.0x47ac93.0
mov byte [0x52de84], 1
jmp case.0x47ac93.0
mov byte [0x52de88], 1
jmp case.0x47ac93.0
mov byte [0x52de8c], 1
jmp case.0x47ac93.0
mov byte [0x52de90], 1
jmp case.0x47ac93.0
mov byte [0x52de94], 1
jmp case.0x47ac93.0
mov byte [0x52de98], 1
jmp case.0x47ac93.0
mov byte [0x52de9c], 1
jmp case.0x47ac93.0
mov byte [0x52dea0], 1
jmp case.0x47ac93.0
mov byte [0x52dea4], 1
jmp case.0x47ac93.0
mov byte [0x52dea8], 1
jmp case.0x47ac93.0
mov byte [0x52deac], 1
jmp case.0x47ac93.0
mov byte [0x52deb0], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ae4d
lea eax, [ebp - 4]
call fcn.00404414
ret

Function at 0x47d1a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x47d208
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404694
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004092a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d20f
lea eax, [ebp - 0xc]
call fcn.00404414
ret
Function at 0x47d5a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x3c]
mov edx, 0x3c
call fcn.00480010
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x600
mov eax, ebx
call fcn.004048e4
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.00480020
mov dword [ebp - 0x28], eax
mov eax, edi
call fcn.00480020
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47d60c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.004048e4
push eax
mov eax, dword [ebp + 0x10]
call fcn.004048e4
push eax
mov eax, edi
call fcn.004048e4
push eax
mov eax, esi
call fcn.004048e4
push eax
push ebx
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x47d698
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
mov eax, dword [0x53f654]
mov al, byte [eax]
xor al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x47d822
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x15], 0
xor eax, eax
push ebp
push 0x47d81b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x47d721
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x47d721
lea eax, [ebp - 0xc]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x47d7e1
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
mov eax, dword [0x53f410]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
call fcn.0040ec54
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x47d771
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x47d776
call fcn.0040ebb8
mov eax, dword [ebp - 0x10]
call fcn.00408bf8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
call fcn.0040ec54
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x47d7e1
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x47d7dd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x10
cmp eax, 0x10
setne byte [ebp - 1]
jmp 0x47d7e1
inc ebx
dec esi
jne 0x47d7aa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d822
cmp dword [ebp - 0x14], 0
je 0x47d7fc
mov eax, dword [ebp - 0x14]
call fcn.0040275c
cmp byte [ebp - 0x15], 0
je 0x47d80b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 8], 0
je 0x47d81a
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47d9e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x47da02
push ebx
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x47d9fa
test al, 0x10
je 0x47d9fe
xor eax, eax
jmp 0x47da04
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret