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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460bd7
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.0045ec56
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045ec2e
jmp 0x460be3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46228d
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 0x4622cf
call fcn.00467e0e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4622cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4622c6
xor eax, eax
jmp 0x4622d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004622dd
pop edi
pop esi
pop ebx
ret 4

Function at 0x46833e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46836c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46838a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004682a4
jmp 0x46838a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46838a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004682a4
test edi, edi
mov eax, edi
jne 0x468374
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x30d32821
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3a8b24ab
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402209
Capabilities:
Encode data using xor

Disassembly:
invalid
mov eax, 0x7022b8
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x402289
arpl word [edx + esi], si
and dword [esi], edi
xchg esp, eax
jns 0x402264
mov edx, 0x192f7d5a
aaa
inc edi
clc
add dl, byte [eax]
hlt
push es
pop eax
and al, 0xa0
dec dword [edx + 0x5a]
movsd dword es:[edi], dword [esi]
loope 0x402201
sbb byte [ebx], bh
and al, byte [esi + 0x17]
cmp byte [eax], cl
leave
push ss
mov ecx, 0xd3df9360
cmpsd dword [esi], dword es:[edi]
mov ebx, 0xde0c6cfb
cmc
and eax, 0xd4582236
push ds
cmpsb byte [esi], byte es:[edi]
push ebx
mov bh, 0xb
fldcw word [eax]
popal
invalid
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x48a393]
shl eax, 2
mov dword [0x48a397], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00468498
pop edx
call fcn.004683fc
call fcn.004684d8
push 0
call fcn.004697e8
pop ecx
push 0x48a33c
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x48a39b], eax
push 0
jmp fcn.00470448

Function at 0x40c080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov dword [ebp - 4], 0x48b803
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push dword [ebp - 4]
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40c0b3
or eax, 0xffffffff
jmp 0x40c0f5
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0x28
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40c0e8
or eax, 0xffffffff
jmp 0x40c0f5
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40c344
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
mov eax, 0x48e20c
call fcn.00468bbc
mov dword [ebp - 0x34], 0x105
mov dword [ebp - 0x44], 0x105
push dword [ebp - 0x44]
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x38]
push edx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x14c]
push ecx
push 0x48b85f
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x40c443
mov word [ebp - 0x20], 0x14
lea eax, [ebp - 4]
call fcn.00401838
mov ecx, eax
inc dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x38]
call fcn.00474dd0
mov word [ebp - 0x20], 8
mov word [ebp - 0x20], 0x20
lea eax, [ebp - 8]
mov dl, 0x2d
call fcn.00474be8
inc dword [ebp - 0x14]
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
call fcn.00403828
mov ecx, eax
sar ecx, 1
jns 0x40c3e2
adc ecx, 0
inc ecx
lea eax, [ebp - 4]
pop edx
call fcn.00474e44
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00474c78
mov word [ebp - 0x20], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.00474ca8
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x38
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00474c78
pop eax
mov word [ebp - 0x20], 0x2c
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x40c492
mov word [ebp - 0x20], 0x44
mov edx, 0x48b863
lea eax, [ebp - 0xc]
call fcn.00474b18
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.00474ca8
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x50
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00474c78
pop eax
mov word [ebp - 0x20], 0x44
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40f890
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push esi
push edi
mov esi, 0x48a43c
lea edi, [ebp - 0x118]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov al, byte [0x48a542]
mov byte [ebp - 5], al
mov edx, dword [0x48a543]
mov dword [ebp - 0x10], edx
mov edx, dword [0x48a547]
mov dword [ebp - 0xc], edx
mov dl, byte [0x48a54b]
mov byte [ebp - 8], dl
push dword [ebp + 8]
lea ecx, [ebp - 0x118]
push ecx
call fcn.00468918
add esp, 8
mov eax, dword [sym.Project1.exe__Form1]
call fcn.0044d82c
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], 3
lea edx, [ebp - 0x118]
mov dword [ebp - 0x130], edx
lea ecx, [ebp - 5]
mov dword [ebp - 0x12c], ecx
mov word [ebp - 0x128], 0x54
xor eax, eax
mov dword [ebp - 0x122], eax
lea edx, [ebp - 0x10]
mov dword [ebp - 0x11e], edx
lea ecx, [ebp - 0x138]
push ecx
call sub.SHELL32.DLL_SHFileOperationA
mov dword [ebp - 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412ad0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x412c41
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x412c1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00466344
lea eax, [ebp - 0x118]
mov edx, 0x412c58
call fcn.00466424
mov eax, dword [ebp - 0x118]
call fcn.004665e0
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x412b8e
lea eax, [ebp - 0x111]
call fcn.00460130
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00466284
jmp 0x412b95
mov eax, esi
call fcn.0046619c
cmp bl, 0x61
jae 0x412bb6
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00461bf0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004661f0
jmp 0x412bd0
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00461b64
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004661f0
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x412c64
call fcn.00460860
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004661f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412c23
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004665e0
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x415341
test al, 0x10
jne 0x415345
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x418340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004665e0
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x422094
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00421dd0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004665e0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x4220f2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x494984]
mov dl, 1
mov eax, dword [0x421cc8]
call fcn.00461214
call fcn.00465e64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4220fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004665e0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x422154
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x494988]
mov dl, 1
mov eax, dword [0x421cc8]
call fcn.00461214
call fcn.00465e64
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00421e00
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42313c
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.0046619c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42318b
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.004663cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4293b0
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 0x4293b6
ret

Function at 0x42bb54
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 0x42bba5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42bb8c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42bb7c
jmp 0x42bba5
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 0x42bb8d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434ad8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4956e0
cmp dword [edi], 0
jne 0x434b54
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4956dc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48ffbc
mov ecx, 2
call fcn.00465178
mov edx, 0x434ab0
lea eax, [esi + 5]
call fcn.00434ad0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00434ad0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x434b29
mov dword [0x4956dc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x434c70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x434cc0]
test si, 4
je 0x434c84
or bl, 1
test si, 8
je 0x434c8e
or bl, 4
test si, 1
je 0x434c98
or bl, 8
test si, 2
je 0x434ca2
or bl, 0x10
test si, 0x10
je 0x434cac
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x434cbb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x434cc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x434cfc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x434cdd
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x434cec
or bl, 4
test esi, 0x20000000
je 0x434cf7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43b24c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43b25e
add esp, 0xfffffff0
call fcn.00465a2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00458f40
mov eax, ebx
call fcn.0043b598
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x452c60]
call fcn.004656fc
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x452c60]
call fcn.004656fc
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x452c60]
call fcn.004656fc
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x452c60]
call fcn.004656fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x452c60]
call fcn.004656fc
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x437d3c
push eax
push 0
push 0
mov eax, dword [0x494a40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4288d8]
call fcn.00429e10
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x4288d8]
call fcn.00429e10
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4288d8]
call fcn.00429e10
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0043b978
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b894
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b894
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b894
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43b36d
call fcn.00465a84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43b678
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 0x43b823
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x43b804
mov dl, 1
mov eax, dword [0x452f9c]
call fcn.004656fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0046619c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43b7f3
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.00451df8
test al, al
je 0x43b7e6
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, 0x43b834
lea eax, [ebp - 0x254]
call fcn.004607f8
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x43b7e6
xor eax, eax
push ebp
push 0x43b7df
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 0x43b86c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x43b7c8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004663cc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x43b7c8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004663cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b7e6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43b6e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00455fd4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b82a
lea eax, [ebp - 0x260]
call fcn.0046619c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4956d0]
cmp byte [eax + 0x95], 0
jne 0x43c0e1
cmp dword [0x4956ec], 0
jne 0x43c0a2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x43c02c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4956ec], eax
cmp dword [0x4956e8], 0
jne 0x43c0bd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4956e8], eax
cmp dword [0x4956f0], 0
jne 0x43c0e1
push esp
push 0
push 0
push 0x43bfd0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4956f0], eax
pop edx
ret
Function at 0x43c1d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43c1ef
add esp, 0xfffffff0
call fcn.00465a2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00458f40
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x452c60]
call fcn.004656fc
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x452c60]
call fcn.004656fc
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x429268]
call fcn.00430f3c
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x43c364
mov eax, dword [0x494bd0]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043130c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43dce8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x494bd0]
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.00461d1c
test eax, eax
je 0x43c2e2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00460198
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00461d44
test eax, eax
je 0x43c2f6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004663cc
mov eax, dword [0x494bd4]
cmp byte [eax], 0
jne 0x43c327
mov eax, ebx
call fcn.0043c450
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43c359
call fcn.00465a84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43c6c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4956d0]
cmp dword [eax + 0x24], 0
je 0x43c763
cmp dword [ebx + 0x84], 0
jne 0x43c75d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43c650
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x43c75d
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 0x43c726
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43c75d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00454314
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43c735
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret