joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c28
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb0
mov eax, 0x4856bc
push ebx
push esi
push edi
call fcn.00463a70
mov dword [ebp - 8], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.00481c40
inc dword [ebp - 8]
xor edx, edx
mov word [ebp - 0x14], 8
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0x12a
push eax
push str.http_shellopencommand
push SysReAllocStringLen
xor ebx, ebx
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
je 0x402ca2
or eax, 0xffffffff
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebp - 8]
call fcn.00481cc0
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x402dd5
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x1c0]
push eax
lea edx, [ebp - 0x30]
push edx
push 0
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x402cef
mov eax, dword [ebp - 0x28]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebp - 8]
call fcn.00481cc0
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x402dd5
mov ecx, dword [ebp - 0x28]
push ecx
call sub.ADVAPI32.DLL_RegCloseKey
lea eax, [ebp - 0x1c0]
push eax
call fcn.004637b4
pop ecx
mov edi, eax
mov esi, 1
lea edx, [ebp + ebx - 0x350]
lea eax, [ebp - 0x1bf]
jmp 0x402d23
mov cl, byte [eax]
inc ebx
mov byte [edx], cl
inc edx
inc esi
inc eax
cmp edi, esi
jle 0x402d2f
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x402d1b
mov byte [ebp + ebx - 0x350], 0x20
inc ebx
mov byte [ebp + ebx - 0x350], 0
cmp dword [ebp + 8], 0
je 0x402d4b
mov eax, dword [ebp + 8]
jmp 0x402d50
mov eax, 0x4844c0
push eax
lea edx, [ebp - 0x350]
push edx
call fcn.00463778
add esp, 8
cmp dword [ebp - 0x30], 2
jne 0x402d80
push 0x12a
lea ecx, [ebp - 0x1c0]
push ecx
lea eax, [ebp - 0x350]
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
jmp 0x402da9
xor eax, eax
lea edi, [ebp - 0x350]
or ecx, 0xffffffff
lea esi, [ebp - 0x1c0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 5
lea eax, [ebp - 0x1c0]
push eax
call sub.KERNEL32.DLL_WinExec
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebp - 8]
call fcn.00481cc0
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402ddc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
mov eax, 0x48570c
call fcn.00463a70
mov dword [ebp - 0x14], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00481c40
inc dword [ebp - 0x14]
lea edx, [ebp + 8]
mov word [ebp - 0x20], 8
lea eax, [ebp + 8]
call fcn.00481c40
inc dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x44e80c]
call fcn.0044e90c
mov ebx, eax
mov edx, SysStringLen
mov eax, ebx
call fcn.00481c00
mov word [ebp - 0x20], 0x14
mov edx, 0x4844c1
lea eax, [ebp - 4]
call fcn.00481c08
inc dword [ebp - 0x14]
mov edx, dword [eax]
mov cl, 1
mov eax, ebx
call fcn.0044ea10
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00481cc0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0044ebcc
mov eax, ebx
call fcn.0044e97c
mov esi, ebx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x402e9d
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov word [ebp - 0x20], 0x2c
mov edx, 3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x20], 0x20
dec dword [ebp - 0x14]
lea eax, [ebp + 8]
mov edx, 2
call fcn.00481cc0
dec dword [ebp - 0x14]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00481cc0
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402ed0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
lea edi, [ebp - 0x30]
mov eax, 0x485780
call fcn.00463a70
mov dword [edi + 0x1c], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00481c40
inc dword [edi + 0x1c]
lea edx, [ebp + 8]
mov word [edi + 0x10], 8
lea eax, [ebp + 8]
call fcn.00481c40
inc dword [edi + 0x1c]
mov dl, 1
mov eax, dword [0x44e80c]
call fcn.0044e90c
mov ebx, eax
mov edx, SysStringLen
mov eax, ebx
call fcn.00481c00
mov word [edi + 0x10], 0x14
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea eax, [ebp - 4]
call fcn.00481c08
inc dword [edi + 0x1c]
mov edx, dword [eax]
mov cl, 1
mov eax, ebx
call fcn.0044ea10
dec dword [edi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00481cc0
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0044eb34
mov word [edi + 0x10], 8
mov eax, ebx
call fcn.0044e97c
mov esi, ebx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x402f98
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov word [edi + 0x10], 0x2c
mov edx, 3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [edi + 0x10], 0x20
dec dword [edi + 0x1c]
lea eax, [ebp + 8]
mov edx, 2
call fcn.00481cc0
dec dword [edi + 0x1c]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00481cc0
mov ecx, dword [edi]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40756c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
lea edx, [ebp - 8]
lea ecx, [ebp - 4]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
push edx
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
je 0x4075aa
or eax, 0xffffffff
jmp 0x4075e0
push esi
push ebx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4075d4
mov eax, dword [esi]
mov byte [ebx + eax], 0
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
jmp 0x4075e0
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4075e8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc8], 0
jne 0x407654
lea eax, [ebx + 0xcc]
push eax
push ebx
call sub.KERNEL32.DLL_FindFirstFileA
mov edi, eax
mov dword [ebx + 0x20c], edi
cmp edi, 0xffffffff
jne 0x40761e
xor eax, eax
jmp 0x4076a9
inc dword [ebx + 0xc8]
lea edi, [ebx + 0xf8]
push esi
xor eax, eax
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edi
call fcn.004637b4
pop ecx
jmp 0x4076a9
lea eax, [ebx + 0xcc]
push eax
mov edx, dword [ebx + 0x20c]
push edx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
je 0x40769b
lea edi, [ebx + 0xf8]
push esi
xor eax, eax
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push edi
call fcn.004637b4
pop ecx
jmp 0x4076a9
mov eax, dword [ebx + 0x20c]
push eax
call sub.KERNEL32.DLL_FindClose
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x407d04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov edx, 0x12
lea ecx, [ebp - 0x34]
mov eax, 0x10
push edx
lea edx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push edx
lea edx, [ebp - 4]
push ecx
push edx
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_GetVolumeInformationA
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4088bc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x408808
call sub.USER32.DLL_EnumWindows
ret
Function at 0x4089e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x408a5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040842c
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x408a05
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00408084
cmp dword [ebp - 4], 0
je 0x408a47
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00460c88
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a64
lea eax, [ebp - 4]
call fcn.004607d8
ret

Function at 0x410dd8
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.004607d8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x410e27
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00460a40
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4173a4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4173aa
ret

Function at 0x419840
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x419891
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x419878
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x419868
jmp 0x419891
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x419879
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422694
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4226e4]
test si, 4
je 0x4226a8
or bl, 1
test si, 8
je 0x4226b2
or bl, 4
test si, 1
je 0x4226bc
or bl, 8
test si, 2
je 0x4226c6
or bl, 0x10
test si, 0x10
je 0x4226d0
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4226df
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4226e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x422720]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x422701
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x422710
or bl, 4
test esi, 0x20000000
je 0x42271b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42905c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x42906e
add esp, 0xfffffff0
call fcn.0045fff0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044c680
mov eax, dword [0x48bf88]
mov dword [eax + 4], ebx
mov dword [eax], 0x429400
mov eax, dword [0x48bf8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x42940c
mov eax, ebx
call fcn.00429418
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x44233c]
call fcn.0045fc5c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x44233c]
call fcn.0045fc5c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x44233c]
call fcn.0045fc5c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x44233c]
call fcn.0045fc5c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x44233c]
call fcn.0045fc5c
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, 0x4258e0
push eax
push 0
push 0
mov eax, dword [0x48bf74]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4167d8]
call fcn.00417eec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4167d8]
call fcn.00417eec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4167d8]
call fcn.00417eec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00429838
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x429714
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x429714
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x429714
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4291ab
call fcn.00460048
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4294f8
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 0x4296a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x429684
mov dl, 1
mov eax, dword [0x44286c]
call fcn.0045fc5c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004607d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x429673
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.0043f4fc
test al, al
je 0x429666
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, 0x4296b4
lea eax, [ebp - 0x254]
call fcn.00451048
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x429666
xor eax, eax
push ebp
push 0x42965f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4296ec
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x429648
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00460a40
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 0x429648
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00460a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429666
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x429569
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00446c8c
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 0x4296aa
lea eax, [ebp - 0x260]
call fcn.004607d8
ret

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

Disassembly:
push ecx
mov eax, dword [0x48c300]
cmp byte [eax + 0xa5], 0
jne 0x42a049
cmp dword [0x48c318], 0
jne 0x42a00a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x429f94
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x48c318], eax
cmp dword [0x48c314], 0
jne 0x42a025
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x48c314], eax
cmp dword [0x48c31c], 0
jne 0x42a049
push esp
push 0
push 0
push 0x429f38
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x48c31c], eax
pop edx
ret
Function at 0x42a140
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42a157
add esp, 0xfffffff0
call fcn.0045fff0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044c680
mov eax, dword [0x48bf90]
cmp word [eax + 2], 0
jne 0x42a17f
mov eax, dword [0x48bf90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0042b804
mov eax, dword [0x48bf94]
cmp word [eax + 2], 0
jne 0x42a199
mov eax, dword [0x48bf94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0042b9fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x44233c]
call fcn.0045fc5c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x44233c]
call fcn.0045fc5c
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], SafeArrayCopy
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 [0x417258]
call fcn.0041e910
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x42a320
mov eax, dword [0x48c1d4]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ece0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x42bf7c
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48c1d4]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.00453378
test eax, eax
je 0x42a28e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004509a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004533a0
test eax, eax
je 0x42a2a2
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, 0x100
call fcn.00460a40
mov eax, dword [0x48c1dc]
cmp byte [eax], 0
jne 0x42a2d6
mov eax, ebx
call fcn.0042a448
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.0042c158
mov eax, ebx
call fcn.0042cb08
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42a316
call fcn.00460048
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a6bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48c300]
cmp dword [eax + 0x30], 0
je 0x42a766
cmp dword [ebx + 0x94], 0
jne 0x42a760
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42a64c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x42a760
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 0x42a726
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42a760
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.004449d0
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42a735
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x42b244
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 0x42b279
push 0x100
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.004608c8
jmp 0x42b286
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0046082c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42c334
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x42c375
mov eax, esi
call fcn.0043ac7c
test al, al
je 0x42c375
mov eax, dword [ebx + 0x84]
call fcn.0043a978
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42c375
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a978
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x42e0f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00460c78
xor eax, eax
push ebp
push 0x42e21e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x42e1f1
xor eax, eax
push ebp
push 0x42e1ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00460a90
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e1bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42e1ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00460a90
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00460c88
mov edx, ebx
pop ecx
call fcn.0045ef18
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e1b5
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x48bf48]
mov dl, 1
mov eax, dword [0x44f4a0]
call fcn.00452958
call fcn.00460438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e225
lea eax, [ebp - 4]
call fcn.004607d8
ret