joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404520
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov dword [ebp - 0x84], 0x401590
mov dword [ebp - 0x80], 0x401598
mov dword [ebp - 0x7c], 0x4015a0
mov dword [ebp - 0x78], 0x4015a8
mov dword [ebp - 0x74], 0x4015b0
mov dword [ebp - 0x70], 0x4015b8
mov dword [ebp - 0x6c], 0x4015c0
mov dword [ebp - 0x68], 0x4015c8
mov dword [ebp - 0x64], 0x4015d0
mov dword [ebp - 0x60], 0x4015d8
mov dword [ebp - 0x5c], 0x4015e0
mov dword [ebp - 0x58], 0x4015e8
mov dword [ebp - 0x54], 0x4015f0
mov dword [ebp - 0x50], 0x4015f8
mov dword [ebp - 0x4c], 0x401600
mov dword [ebp - 0x48], 0x401608
mov dword [ebp - 0x44], 0x401610
mov dword [ebp - 0x40], 0x401618
mov dword [ebp - 0x3c], 0x401620
mov dword [ebp - 0x38], 0x401628
mov dword [ebp - 0x34], 0x401630
mov dword [ebp - 0x30], 0x401638
mov dword [ebp - 0x2c], 0x401640
mov dword [ebp - 0x28], 0x401648
mov dword [ebp - 0x24], 0x401650
mov dword [ebp - 0x20], 0x401658
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x78
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
jmp 0x404609
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1a
jge 0x404644
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + ecx*4 - 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x404642
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + ecx*4 - 0x84]
mov dword [ebp + eax*4 - 0xec], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x404600
mov ecx, 2
imul edx, ecx, 0
xor eax, eax
mov word [ebp + edx - 0x2f4], ax
push 0x10000
call fcn.00412e80
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x404745
push 0x10000
call fcn.00412e80
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x404739
push 0x8000
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
jbe 0x404706
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2f4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x4046e5
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x4046e5
mov ecx, 2
imul edx, ecx, 0
xor eax, eax
mov word [ebp + edx - 0x2f4], ax
jmp 0x404708
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0xec]
push ecx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
nop
jmp 0x404708
jmp 0x404723
push 0x8000
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x40469c
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov edx, dword [ebp - 0x14]
push edx
call fcn.00412eb0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00412eb0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x404750
Capabilities:
Create process on windows
Delete volume shadow copies

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
call fcn.00404b50
test eax, eax
je 0x404794
push 0x401680
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
push 0x401690
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404794
lea ecx, [ebp - 8]
push ecx
call dword [ebp - 4]
nop
push 0
push 0
push 0x4016b0
push 0x401708
push 0x401718
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
call fcn.00404b50
test eax, eax
je 0x4047e7
push 0x401724
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
push 0x401734
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4047e7
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0xc]
nop
mov esp, ebp
pop ebp
ret
Function at 0x404a30
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x404aed
mov dword [ebp - 4], 0
jmp 0x404a7e
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x1f
jae 0x404ad5
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x4140b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x404ad3
mov eax, dword [ebp - 0x234]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x404ad1
push 9
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x404ad5
jmp 0x404a75
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x10], eax
jmp 0x404a62
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov esp, ebp
pop ebp
ret

Function at 0x404b00
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x404b44
push 0xf0000008
push 0x18
push 0
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x404b44
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x404d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4141c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x10]
push eax
push 0x401754
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x4141c0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push 0xe
push 0x401758
mov ecx, dword [0x4141c0]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [0x4141c0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x401768
mov ecx, dword [0x4141c0]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x4141c0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x401770
mov ecx, dword [0x4141c0]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x4141c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov esp, ebp
pop ebp
ret

Function at 0x404ea0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov dword [ebp - 4], 0
jmp 0x404ebb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x404ed2
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov byte [ebp + edx - 0x24], al
jmp 0x404eb2
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 0x24]
and eax, 0xf8
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x24], al
mov eax, 1
imul ecx, eax, 0x1f
movzx edx, byte [ebp + ecx - 0x24]
and edx, 0x7f
mov eax, 1
imul ecx, eax, 0x1f
mov byte [ebp + ecx - 0x24], dl
mov edx, 1
imul eax, edx, 0x1f
movzx ecx, byte [ebp + eax - 0x24]
or ecx, 0x40
mov edx, 1
imul eax, edx, 0x1f
mov byte [ebp + eax - 0x24], cl
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xcc]
push edx
call fcn.00407c30
add esp, 8
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.00408fe0
add esp, 0x10
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.004092f0
add esp, 8
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.00406e80
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408210
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40a640
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push 0
mov eax, dword [ebp + 8]
push eax
push 0x41420c
call fcn.00412ff0
add esp, 0xc
test eax, eax
jne 0x40a698
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0x4141dc
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40a696
mov edx, dword [ebp - 0xc]
push edx
call fcn.004097a0
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.00412eb0
add esp, 4
jmp 0x40a660
jmp 0x40a649
push 0x10000
call fcn.00412e80
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a830
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403be8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40a795
mov eax, dword [ebp - 0x26c]
and eax, 0x10
je 0x40a76c
mov dword [ebp - 8], 0
jmp 0x40a70a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x22
jae 0x40a732
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x414130]
push eax
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40a730
jmp 0x40a76c
jmp 0x40a701
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403bf0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040a640
add esp, 4
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a6ed
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
jmp 0x40a824
cmp dword [0x41423c], 0
je 0x40a824
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00412e80
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x403bf4
call fcn.00404d50
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00412eb0
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.00412eb0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x40a930
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0x4000
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x13
push 0
push 2
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x40a9fd
mov edx, dword [ebp - 8]
push edx
call fcn.00412e80
add esp, 4
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x40a9f3
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
jne 0x40a9e7
mov dword [ebp - 4], 0
jmp 0x40a99f
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jae 0x40a9e5
mov eax, dword [ebp - 4]
shl eax, 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0xc]
and edx, 2
je 0x40a9cd
mov eax, dword [ebp - 4]
shl eax, 5
add eax, dword [ebp + 8]
push eax
call fcn.0040a930
add esp, 4
jmp 0x40a9e3
mov ecx, dword [ebp - 4]
shl ecx, 5
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x14]
push eax
call fcn.0040a640
add esp, 4
jmp 0x40a996
jmp 0x40a974
mov ecx, dword [ebp + 8]
push ecx
call fcn.00412eb0
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call sub.MPR.dll_WNetCloseEnum
nop
mov esp, ebp
pop ebp
ret

Function at 0x40aa10
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40aa61
cmp dword [ebp - 0xc], 0xea
jne 0x40ab2f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 1
jmp 0x40aa79
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
ja 0x40ab25
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x40aa9a
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0x80000000
jne 0x40ab17
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x40ab17
push 0x403c0c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40ab17
push 0x403c1c
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x403c24
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xe4]
push eax
call fcn.0040a640
add esp, 4
mov ecx, dword [ebp - 4]
add ecx, 0xc
mov dword [ebp - 4], ecx
jmp 0x40aa70
mov edx, dword [ebp - 0x14]
push edx
call sub.NETAPI32.dll_NetApiBufferFree
nop
cmp dword [ebp - 0xc], 0xea
je 0x40aa2e
mov esp, ebp
pop ebp
ret
Function at 0x40ab40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xe
call fcn.00412e80
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ac1d
push 0x403c28
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403c34
mov ecx, dword [ebp - 4]
add ecx, 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 2
shl edx, 2
mov eax, dword [ebp - 4]
mov cx, word [ebp + 8]
mov word [eax + edx], cx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40ac11
cmp dword [ebp - 0xc], 5
je 0x40ac11
cmp dword [ebp - 0xc], 4
je 0x40abbe
mov eax, dword [ebp - 4]
push eax
call fcn.0040a640
add esp, 4
jmp 0x40ac11
mov dword [ebp - 0x10], 0x104
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
call fcn.00412e80
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40ac11
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, 2
shl ecx, 2
add ecx, dword [ebp - 4]
push ecx
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x40ac05
mov edx, dword [ebp - 8]
push edx
call fcn.0040a640
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00412eb0
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.00412eb0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10001606
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
xor edx, edx
push esi
push edi
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x100016e1
lea esi, [ecx + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x1000167b
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x100016c9
mov eax, dword [esi - 4]
push 4
push 0x1000
push edi
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100016eb
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esi - 8], eax
test edi, edi
je 0x100016c9
push edi
push 0
push eax
call fcn.10013930
add esp, 0xc
jmp 0x100016c9
mov ecx, dword [esi + 4]
add ecx, eax
push ecx
call fcn.100015ea
test eax, eax
je 0x100016eb
mov eax, dword [esi - 4]
push 4
push 0x1000
push dword [esi]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100016eb
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, dword [ebp + 8]
add eax, ebx
test edx, edx
jbe 0x100016c6
mov edi, eax
sub ecx, eax
mov dword [ebp - 8], edx
mov dl, byte [ecx + edi]
mov byte [edi], dl
inc edi
dec dword [ebp - 8]
jne 0x100016bb
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add esi, 0x28
cmp dword [ebp - 4], eax
jl 0x10001631
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x100016e4
Function at 0x100020d6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov edx, dword [0x100570fc]
push ebx
push ebp
mov ecx, dword [0x100570f8]
push esi
mov esi, dword [0x10057100]
push edi
mov edi, dword [0x100570f4]
mov eax, edx
imul eax, edi
imul eax, edi
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
mov ebp, esi
sub ebp, eax
mov eax, dword [0x10057104]
sub ebp, 3
imul ebp, eax
lea ebx, [edx + edi]
add ebx, ecx
imul ebx, ecx
sub ebp, ebx
mov ebx, dword [esp + 0x40]
sub ebp, edx
lea ebx, [ebx + ebp*4]
mov ebp, edx
imul ebp, esi
inc ebp
imul ebp, ecx
mov dword [esp + 0x24], ebx
lea ebx, [eax + eax]
sub ebp, ebx
mov ebx, dword [esp + 0x40]
lea ebp, [ebx + ebp*2]
mov dword [esp + 0x28], ebp
lea ebp, [ecx - 2]
imul ebp, edx
add ebp, edi
add ebp, eax
imul ebp, esi
imul ebp, ebp, 6
add ebp, ebx
mov dword [esp + 0x30], ebp
lea ebx, [edx + edi]
add ebx, ebx
mov dword [esp + 0x2c], ebx
mov ebx, ecx
imul ebx, ebx, 5
mov dword [esp + 0x14], ebx
add ebx, 5
imul ebx, edi
lea ebp, [eax + 1]
imul ebp, edx
imul ebp, ebp, 0xfffffffb
sub ebp, ebx
sub ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
add ebp, ebx
mov ebx, eax
imul ebx, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x18], ebx
mov ebp, edi
imul ebp, esi
inc ebx
imul ebx, edi
mov dword [esp + 0x14], ebp
mov ebp, edx
sub ebp, ebx
inc ebp
lea ebx, [eax + 2]
imul ebp, edx
imul ebx, ecx
add ebp, ebx
mov ebx, dword [esp + 0x14]
imul ebx, eax
add ebp, ebx
mov ebx, dword [esp + 0x40]
lea ebx, [ebx + ebp*4]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x14]
imul ebx, esi
mov ebp, dword [esp + 0x18]
inc ebx
imul ebx, esi
lea ebx, [ebx + ebp + 2]
imul ebx, edx
mov ebp, eax
imul ebp, ebp, 3
sub ebx, ebp
mov ebp, dword [esp + 0x40]
sub ebx, esi
add ebx, edi
lea ebx, [ebp + ebx*4]
mov dword [esp + 0x18], ebx
mov ebx, ecx
sub ebx, esi
add ebx, 3
imul ebx, edi
mov edi, esi
sub edi, ecx
imul ecx, eax
inc edi
inc edi
imul edi, eax
mov eax, dword [esp + 0x44]
add ebx, edi
sub ebx, edx
add ebx, esi
mov esi, dword [esp + 0x20]
imul ebx, ebx, 5
add ecx, ecx
sub eax, ecx
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x14], 0x24e00
xor edx, edx
lea eax, [ecx + 1]
mov ecx, 0x2db3
div ecx
mov eax, dword [esp + 0x24]
mov ecx, edx
movzx eax, byte [eax + ecx]
add eax, esi
xor edx, edx
mov esi, 0x2db3
div esi
mov eax, dword [esp + 0x28]
mov al, byte [eax + ecx]
mov byte [esp + 0x13], al
mov eax, ecx
sub eax, dword [esp + 0x2c]
mov esi, edx
mov edx, dword [esp + 0x30]
mov dl, byte [edx + esi]
mov byte [eax + ebp], dl
mov eax, dword [esp + 0x34]
mov dl, byte [esp + 0x13]
mov byte [eax + esi], dl
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + esi]
mov edx, dword [esp + 0x38]
movzx edx, byte [edx + ecx]
add eax, edx
xor edx, edx
mov ebp, 0x2db3
div ebp
mov ebp, dword [esp + 0x40]
add edx, ebx
mov al, byte [edx + ebp]
xor byte [edi], al
inc edi
dec dword [esp + 0x14]
jne 0x1000222d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x10006db2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x10006dd6
cmp dword [edi + 0x54], 0
jne 0x10006dd6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10008349
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.10006d73
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1000d9a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1000d9ee
call fcn.10008349
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000d9ee
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1000da0a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1000d51f
mov esi, eax
test edi, edi
je 0x1000da08
test ebx, ebx
je 0x1000da08
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10010fbe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10030ca0]
jne 0x10010fc8
repz ret
jmp fcn.10014e6f