joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441f30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441f63
push esi
call fcn.00445030
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441f5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441fe9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441fd2
mov eax, dword [esi + 8]
test eax, eax
je 0x441f87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441fce
cmp eax, 2
je 0x441fd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441f7a
cmp eax, 3
je 0x441fad
cmp eax, 1
jne 0x441f7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441f7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441f7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442010
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441ff8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442010
add esp, 4
pop esi
ret

Function at 0x44d2d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44d336
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44d336
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44d317
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44d6c0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44d6f8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44e370
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44e3b9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44e830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ffc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044e3e0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044e460
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044e460
lea ecx, [esi + 0xc]
call fcn.004618e3
lea ecx, [esi + 0x10]
call fcn.004618e3
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044fa00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044fa00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044fa00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00461958
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00461958
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x463cff
Capabilities:
Get graphical window text

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

Function at 0x4653ed
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 0x46542f
call fcn.0046b1aa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46542f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x465426
xor eax, eax
jmp 0x465437
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046543d
pop edi
pop esi
pop ebx
ret 4

Function at 0x46b6da
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 0x46b708
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b726
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046b640
jmp 0x46b726
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b726
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046b640
test edi, edi
mov eax, edi
jne 0x46b710
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x419b50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x419b72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419b79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419b68
mov eax, 1
add ebx, ebx
jne 0x419b8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419b80
jne 0x419b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419b80
xor ecx, ecx
sub eax, 3
jb 0x419bb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419c22
mov ebp, eax
add ebx, ebx
jne 0x419bbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419bec
inc ecx
add ebx, ebx
jne 0x419bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419bcd
jne 0x419be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419bcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419c0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419bfd
jmp 0x419b6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419c0c
add edi, ecx
jmp 0x419b6e
pop esi
mov edi, esi
mov ecx, 0x498
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419c2a
cmp byte [edi], 0
jne 0x419c2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x419c2f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419c9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a7c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a840]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419c5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a844]
or eax, eax
je 0x419c98
mov dword [ebx], eax
add ebx, 4
jmp 0x419c79
call dword [esi + 0x1a848]
popal
jmp 0x40c614
Function at 0x401534
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401546
mov eax, dword [0x4cd08b]
shl eax, 2
mov dword [0x4cd08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004be448
pop edx
call fcn.004be3ac
call fcn.004be488
push 0
call fcn.004bf980
pop ecx
push 0x4cd034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4cd093], eax
push 0
jmp fcn.004c7200
Function at 0x41cde8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 8]
add edx, 0x14b8
push edx
push 0x4d578f
mov ecx, dword [sym.maintenance.exe__FormSetup]
mov eax, dword [ecx]
push dword [eax + 0x9fc]
call fcn.0042ea8c
add esp, 0x10
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14b8], 6
jle 0x41ce30
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14b8], 6
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x41cece
push str._etc_lens_
call fcn.004bea54
pop ecx
imul edx, dword [ebp - 8], 0x104
add edx, dword [ebp - 4]
add eax, edx
push eax
call fcn.00402ee8
pop ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov ecx, dword [sym.maintenance.exe__FormSetup]
mov eax, dword [ecx]
push dword [eax + 0x9fc]
lea edx, [ebp - 0x24]
push edx
call fcn.00403254
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], 0x3f333333
mov dword [ebp - 0x44], 0x3f333333
mov dword [ebp - 0x40], 0x3f333333
mov byte [ebp - 0x2c], 0
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
mov edx, 8
push dword [ecx + edx*4]
dec edx
jns 0x41ceba
push dword [ebp + 8]
call fcn.0041cd5c
add esp, 0x2c
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x14b8]
jl 0x41ce3a
push dword [ebp - 4]
call fcn.004bdab4
pop ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x14bc], eax
mov esp, ebp
pop ebp
ret
Function at 0x42ed64
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 8], dl
test dl, dl
jle 0x42ed76
call fcn.004cc3b8
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x4db660
call fcn.004becc8
mov word [ebp - 0x18], 8
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a6680
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 4]
mov byte [edx + 0x38], 0
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x29], 0
je 0x42edca
call fcn.004cc3c5
mov esp, ebp
pop ebp
ret

Function at 0x430098
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 0x42ffe4
call sub.USER32.DLL_EnumWindows
ret

Function at 0x4301bc
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 0x430239
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042fc08
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 0x4301e1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042f860
cmp dword [ebp - 4], 0
je 0x430223
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004bbbbc
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 0x430240
lea eax, [ebp - 4]
call fcn.004bb70c
ret

Function at 0x43e408
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.004bb70c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e457
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.004bb974
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4464cc
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 0x4464d2
ret

Function at 0x448aa8
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 0x448af9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x448ae0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x448ad0
jmp 0x448af9
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 0x448ae1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45185c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4518ac]
test si, 4
je 0x451870
or bl, 1
test si, 8
je 0x45187a
or bl, 4
test si, 1
je 0x451884
or bl, 8
test si, 2
je 0x45188e
or bl, 0x10
test si, 0x10
je 0x451898
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4518a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4518b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4518e8]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4518c9
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4518d8
or bl, 4
test esi, 0x20000000
je 0x4518e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458224
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458236
add esp, 0xfffffff0
call fcn.004bad40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a6aa4
mov eax, dword [0x4e3094]
mov dword [eax + 4], ebx
mov dword [eax], 0x4585c8
mov eax, dword [0x4e3098]
mov dword [eax + 4], ebx
mov dword [eax], 0x4585d4
mov eax, ebx
call fcn.004585e0
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x49bee4]
call fcn.004ba9ac
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x49bee4]
call fcn.004ba9ac
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x49bee4]
call fcn.004ba9ac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x49bee4]
call fcn.004ba9ac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x49bee4]
call fcn.004ba9ac
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, 0x454aa8
push eax
push 0
push 0
mov eax, dword [0x4e3080]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x445900]
call fcn.00447014
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x445900]
call fcn.00447014
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x445900]
call fcn.00447014
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458a48
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458924
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458924
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458924
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458373
call fcn.004bad98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458708
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 0x4588b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458894
mov dl, 1
mov eax, dword [0x49c4d0]
call fcn.004ba9ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004bb70c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458883
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.00471a58
test al, al
je 0x458876
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, 0x4588c4
lea eax, [ebp - 0x254]
call fcn.004abb7c
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x458876
xor eax, eax
push ebp
push 0x45886f
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 0x4588fc
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x458858
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004bb974
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 0x458858
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004bb974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458876
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458779
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004a0b34
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 0x4588ba
lea eax, [ebp - 0x260]
call fcn.004bb70c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e38f0]
cmp byte [eax + 0xa5], 0
jne 0x459259
cmp dword [0x4e3908], 0
jne 0x45921a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4591a4
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4e3908], eax
cmp dword [0x4e3904], 0
jne 0x459235
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4e3904], eax
cmp dword [0x4e390c], 0
jne 0x459259
push esp
push 0
push 0
push 0x459148
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4e390c], eax
pop edx
ret
Function at 0x459380
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459397
add esp, 0xfffffff0
call fcn.004bad40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a6aa4
mov eax, dword [0x4e309c]
cmp word [eax + 2], 0
jne 0x4593bf
mov eax, dword [0x4e309c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045aa5c
mov eax, dword [0x4e30a0]
cmp word [eax + 2], 0
jne 0x4593d9
mov eax, dword [0x4e30a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ac54
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x49bee4]
call fcn.004ba9ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x49bee4]
call fcn.004ba9ac
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 [0x446380]
call fcn.0044dad8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459560
mov eax, dword [0x4e331c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0044dea8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b1c4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e331c]
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.004ae2c0
test eax, eax
je 0x4594ce
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004ab4c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004ae2e8
test eax, eax
je 0x4594e2
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.004bb974
mov eax, dword [0x4e3324]
cmp byte [eax], 0
jne 0x459516
mov eax, ebx
call fcn.00459688
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.0045b3a0
mov eax, ebx
call fcn.0045bd50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459556
call fcn.004bad98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4598fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e38f0]
cmp dword [eax + 0x30], 0
je 0x4599a6
cmp dword [ebx + 0x94], 0
jne 0x4599a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45988c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4599a0
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 0x459966
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4599a0
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.0049e6d0
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459975
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a484
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 0x45a4b9
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.004bb7fc
jmp 0x45a4c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004bb760
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b57c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b5bd
mov eax, esi
call fcn.0046d150
test al, al
je 0x45b5bd
mov eax, dword [ebx + 0x84]
call fcn.0046ce4c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x45b5bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046ce4c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret