joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468a6c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x468a83
add esp, 0xfffffff0
call fcn.00403678
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420f1c
mov eax, dword [0x49ed68]
cmp word [eax + 2], 0
jne 0x468aab
mov eax, dword [0x49ed68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046a1ec
mov eax, dword [0x49eec4]
cmp word [eax + 2], 0
jne 0x468ac5
mov eax, dword [0x49eec4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046a3e4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4179c0]
call fcn.00403324
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4179c0]
call fcn.00403324
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 [0x423530]
call fcn.0042af38
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x468c4c
mov eax, dword [0x49ebe8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b308
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46a994
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49ebe8]
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.0040d124
test eax, eax
je 0x468bba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409118
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d14c
test eax, eax
je 0x468bce
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.00404398
mov eax, dword [0x49e96c]
cmp byte [eax], 0
jne 0x468c02
mov eax, ebx
call fcn.00468d74
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.0046ab70
mov eax, ebx
call fcn.0046b534
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x468c42
call fcn.004036d0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468ff4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a0bec]
cmp dword [eax + 0x30], 0
je 0x46909e
cmp dword [ebx + 0x94], 0
jne 0x469098
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x468f84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x469098
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 0x46905e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x469098
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.0041a2c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46906d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x469c00
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 0x469c35
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.00404218
jmp 0x469c42
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040417c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46ad4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46ad8d
mov eax, esi
call fcn.0045134c
test al, al
je 0x46ad8d
mov eax, dword [ebx + 0x84]
call fcn.00451048
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46ad8d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00451048
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x479368
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x479370
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x479562
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x479578
mov eax, esi
call fcn.004771f4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040417c
lea ecx, [ebp - 0x10]
mov edx, 0x47958c
mov eax, esi
call fcn.004771f4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040417c
lea ecx, [ebp - 0x14]
mov edx, 0x4795a4
mov eax, esi
call fcn.004771f4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040417c
lea ecx, [ebp - 0x18]
mov edx, 0x4795c0
mov eax, esi
call fcn.004771f4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040417c
lea ecx, [ebp - 0x1c]
mov edx, 0x4795dc
mov eax, esi
call fcn.004771f4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040417c
lea ecx, [ebp - 0x24]
mov edx, 0x4795f4
mov eax, esi
call fcn.004771f4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004085dc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408b24
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47960c
mov eax, esi
call fcn.004771f4
mov eax, dword [ebp - 0x28]
call fcn.00470ccc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47961c
mov eax, esi
call fcn.004771f4
mov eax, dword [ebp - 0x2c]
call fcn.00470ccc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x479634
mov eax, esi
call fcn.004771f4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408b24
inc eax
je 0x479505
lea ecx, [ebp - 0x34]
mov edx, 0x479634
mov eax, esi
call fcn.004771f4
mov eax, dword [ebp - 0x34]
call fcn.00408ae8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a0c4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a428
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x479520
lea ecx, [ebp - 0x40]
mov edx, 0x479634
mov eax, esi
call fcn.004771f4
mov eax, dword [ebp - 0x40]
call fcn.00470ccc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x479644
mov eax, esi
call fcn.004771f4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040417c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479569
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040414c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040414c
ret
Function at 0x4802f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48034e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004802e4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046f83c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046f43c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480355
lea eax, [ebp - 4]
call fcn.00404128
ret

Function at 0x483f1c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416f40]
call fcn.00404b40
xor eax, eax
push ebp
push 0x484060
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49e8ec], 0
jne 0x483f6f
mov ecx, dword [0x49e99c]
mov dl, 1
mov eax, dword [0x407714]
call fcn.0040c310
call fcn.00403ae0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d40
mov eax, ebx
call fcn.00404990
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x484070
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405d10
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004049a0
test eax, eax
jle 0x484007
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x484000
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004043b0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404398
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040856c
test eax, eax
jne 0x484000
mov ebx, 0x15
jmp 0x48400c
mov ebx, 0x10
jmp 0x48400c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x49e8ec]
call fcn.00483e18
mov eax, dword [ebp - 8]
call fcn.00483e18
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484067
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040414c
lea eax, [ebp - 0x10]
mov edx, dword [0x416f40]
call fcn.00404c10
ret
Function at 0x48bb44
Capabilities:
Create thread
Inject thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
lea edx, [ebp - 0xc]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 4
push 0x1000
push 0x1000
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push 0x1000
push edi
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
push 4
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push esi
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
push 0x8000
push 0x1000
push esi
push ebx
call sub.kernel32.dll_VirtualFreeEx
push 0x8000
mov eax, dword [ebp + 8]
push eax
push edi
push ebx
call sub.kernel32.dll_VirtualFreeEx
push ebx
call sub.kernel32.dll_CloseHandle
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x499214
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045d8
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x49938e
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0048a6a0
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0048a6c0
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x49935a
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404398
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408fac
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040838c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040838c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404534
je 0x499334
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404398
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040838c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040838c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404534
jne 0x49934b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0048a6e0
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x499295
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499395
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040414c
lea eax, [ebp - 4]
call fcn.00404128
ret
Function at 0x4064e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40650c
xor eax, eax
test eax, eax
je 0x40651f
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40651f
xor ecx, ecx
jmp 0x406522
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406609
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x406640
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40661a
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406615
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406671
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x406653
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
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
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x459d90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc8db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004be27e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x459e12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bbbcd
mov eax, dword [eax]
push 0x6ef244
push eax
call fcn.004adbc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004be509
test bl, bl
je 0x459e12
push 0x6ef244
lea ecx, [esp + 0xc]
call fcn.004be8e5
push 0x6f2dd8
lea ecx, [esp + 0xc]
call fcn.004be8e5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x459e4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004be509
jmp 0x459f19
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x459ed2
lea edx, [esp + 0x7c]
push 0x6f2dd4
push edx
call fcn.004adbc4
add esp, 8
test eax, eax
je 0x459ed2
lea eax, [esp + 0x7c]
push 0x6f2dd0
push eax
call fcn.004adbc4
add esp, 8
test eax, eax
je 0x459ed2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x459e62
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004be509
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x45a730
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x45a792
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x45a7a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc95b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6fbc88]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x45a8d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x45a806
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004be509
xor eax, eax
jmp 0x45a94f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004be692
push esi
lea ecx, [esp + 0xc]
call fcn.004be921
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45a92d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0045a730
test eax, eax
jne 0x45a92d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0045a730
test eax, eax
jne 0x45a92d
lea eax, [esp + 0x14]
push 0x6f2dec
push eax
call fcn.004aed70
mov esi, eax
add esp, 8
test esi, esi
jne 0x45a90c
lea ecx, [esp + 0x14]
push 0x6f2de8
push ecx
call fcn.004aecf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45a90c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45a90f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004be642
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45a81e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004be509
xor eax, eax
jmp 0x45a94f
mov byte [esi], 0
push 0x6f2de4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004be509
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x45ea3a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4cce08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004bfb2e
xor ebp, ebp
mov dword [esi], 0x6dac38
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.0049c480
call fcn.0044f880
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.004bd304
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.0044f880
mov dword [ebx], 0x6d89e4
mov dword [edi], 0x6dab5c
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.0044f880
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x6dab64
mov dword [esi + 0xac], ebp
call fcn.004c871d
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.004c52a6
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x45ebf0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4cce95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x6dab64
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.004c52fd
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x6d89e0
call fcn.0044fa80
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.004c52fd
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x6d89e0
call fcn.0044fa80
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.004bd337
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x6d89e0
call fcn.0044fa80
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004c6735
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4644a6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x4644ce
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret