joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40be20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40be84
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404498
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040773c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be8b
lea eax, [ebp - 0xc]
call fcn.00404228
ret

Function at 0x415bd4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046d8
xor eax, eax
push ebp
push 0x415c6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004161a8
test al, al
jne 0x415c1b
lea eax, [ebp - 0x20c]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x415c29
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 4]
call fcn.00408094
lea eax, [ebp - 0x108]
push eax
xor bl, 1
xor eax, eax
mov al, bl
push eax
push 0x415c7c
lea eax, [ebp - 0x20c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, esi
lea eax, [ebp - 0x108]
call fcn.004081a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415c73
lea eax, [ebp - 4]
call fcn.00404228
ret

Function at 0x415cec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x415d79
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00407ed8
xor ebx, ebx
mov edx, dword [ebp - 0xc]
mov eax, 0x415d90
call fcn.004047d0
mov esi, eax
test esi, esi
jle 0x415d63
mov eax, dword [ebp - 0xc]
call fcn.004044e8
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
lea eax, [ebp - 0xc]
call fcn.00404788
mov eax, dword [ebp - 0xc]
call fcn.004044e8
mov ecx, eax
lea eax, [ebp - 5]
mov edx, dword [ebp - 0xc]
call fcn.004080c0
lea eax, [ebp - 5]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415d80
lea eax, [ebp - 0xc]
call fcn.00404228
ret
Function at 0x415d94
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x11c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x415e7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x11c]
mov eax, ebx
call fcn.00407dc4
lea eax, [ebp - 0x11c]
mov edx, 0x415e98
call fcn.004044f0
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.00408094
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x415e61
xor eax, eax
push ebp
push 0x415e3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0xc]
imul dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x415e61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415e81
lea eax, [ebp - 0x11c]
call fcn.00404228
ret
Function at 0x415fd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x416181
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00407dc4
cmp dword [ebp - 0xc], 0
jne 0x416020
lea eax, [ebp - 0x10]
call fcn.00408004
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00407dc4
lea eax, [ebp - 0xc]
mov edx, 0x416198
call fcn.004044f0
mov eax, ebx
call fcn.00416674
sub al, 2
jb 0x41603f
je 0x416052
jmp case.default.0x4160a7
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x4160a7
mov edx, ebx
mov eax, 0x4161a4
call fcn.004047d0
dec eax
jne 0x416090
call fcn.00415f74
test al, al
je 0x41607d
mov eax, dword [ebp - 0xc]
call fcn.00415e9c
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x4160a7
mov dword [ebp - 8], 0x7fffffff
mov dword [ebp - 4], 0
jmp case.default.0x4160a7
mov eax, dword [ebp - 0xc]
call fcn.004046e8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.default.0x4160a7
jmp dword [eax*4 + 0x4160ae]
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x4160a7
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x4160a7
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x4160a7
mov eax, dword [ebp - 0xc]
call fcn.00415d94
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x4160a7
mov eax, dword [ebp - 0xc]
call fcn.00415f60
cdq
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x4160a7
mov eax, dword [ebp - 0xc]
call fcn.00415d94
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x4160a7
mov eax, dword [ebp - 0xc]
call fcn.00415e9c
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xffffffff
jne 0x416147
cmp dword [ebp - 8], 0xffffffff
jb 0x41615c
jmp 0x416149
jl 0x41615c
cmp dword [ebp - 4], 0
jne 0x41615a
cmp dword [ebp - 8], 0x7fffffff
jbe 0x416163
jmp 0x41615c
jle 0x416163
mov ebx, 0x7fffffff
jmp 0x416166
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416188
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040424c
ret

Function at 0x4161a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, eax
xor ebx, ebx
mov edx, esi
mov eax, 0x416204
call fcn.004047d0
test eax, eax
jne 0x4161ee
mov edx, esi
mov eax, 0x416210
call fcn.004047d0
test eax, eax
jne 0x4161ee
mov eax, esp
mov edx, esi
call fcn.00408094
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4161ee
test al, 0x10
je 0x4161ee
mov bl, 1
mov eax, ebx
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x4170b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [eax]
movzx ecx, cx
dec ecx
test ecx, ecx
jl 0x4170df
inc ecx
mov ebx, esi
xor bl, byte [edx]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4258ac]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov esi, ebx
inc edx
dec ecx
jne 0x4170bd
mov dword [eax], esi
pop esi
pop ebx
ret

Function at 0x4178c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], edx
mov edx, dword [eax]
sub ecx, 1
jno 0x4178d2
call fcn.004034c8
test ecx, ecx
jl 0x4178fb
inc ecx
mov ebx, edx
mov esi, dword [esp]
xor bl, byte [esi]
and ebx, 0xff
mov esi, dword [0x4260c0]
mov ebx, dword [esi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
add dword [esp], 1
dec ecx
jne 0x4178d7
mov dword [eax], edx
pop edx
pop esi
pop ebx
ret

Function at 0x417e94
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov edx, ecx
mov eax, ebx
call fcn.00417f24
mov dword [ebp - 8], 0xc
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebx + 8]
mov al, byte [esi]
call fcn.004170e4
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.004170e4
mov dword [ebx + 0x10], eax
inc esi
inc edi
dec dword [ebp - 8]
jne 0x417eb8
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 9]
sete al
mov byte [ebx + 4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x417f24
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.004044e8
mov esi, eax
test esi, esi
jle 0x417f92
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.004170e4
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.004170e4
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x417f56
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41b540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x41b55c
add esp, 0xfffffff0
call fcn.004037d4
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.004046d8
xor eax, eax
push ebp
push 0x41b651
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00403534
mov byte [ebx + 8], 0
mov eax, dword [ebp - 8]
call fcn.00415cec
test al, al
je 0x41b5b1
push esi
push 0
mov eax, dword [ebx + 0x28]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41a018]
call fcn.0041a5d4
mov dword [ebx + 4], eax
jmp 0x41b5ca
push esi
push 1
mov eax, dword [ebx + 0x28]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41a018]
call fcn.0041a5d4
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax + 0x34], ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
mov dword [eax + 0x30], edx
mov dword [eax + 0x3c], ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov dword [eax + 0x38], edx
xor eax, eax
mov dword [ebx + 0x38], eax
mov byte [ebx + 0x3e], 1
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 8]
call fcn.0040427c
mov dword [ebx + 0x94], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x90], eax
mov byte [ebx + 0x44], 0
mov word [ebx + 0x3c], si
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402dcc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00407d90
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0041cc70
mov eax, ebx
call fcn.0041c4e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b658
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040424c
ret

Function at 0x420a70
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov edi, ecx
dec edi
test edi, edi
jl 0x420ae6
inc edi
mov esi, edx
mov ax, word [ebx + 0xc]
or ax, 2
movzx edx, ax
xor ax, 1
movzx eax, ax
imul edx, eax
shr edx, 8
xor byte [esi], dl
mov edx, dword [ebx + 4]
mov al, byte [esi]
call fcn.004170e4
mov ebp, eax
mov dword [ebx + 4], ebp
and ebp, 0xff
add dword [ebx + 8], ebp
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
shr eax, 0x18
xor al, byte [ebx + 0xc]
and eax, 0xff
mov edx, dword [0x4260c0]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebx + 0xc], eax
inc esi
dec edi
jne 0x420a80
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x420b78
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
mov eax, dword [edi + 0x38]
call fcn.00412694
mov dword [esp + 4], eax
xor ebx, ebx
mov byte [esp], 0
jmp 0x420c0f
mov eax, edi
call fcn.00420b34
xor ecx, ecx
mov edx, dword [esp + 4]
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [edi + 0x10]
mov ecx, 0xc
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor esi, esi
mov eax, edi
call fcn.00420aec
xor byte [edi + esi + 0x10], al
lea edx, [edi + 4]
mov al, byte [edi + esi + 0x10]
call fcn.00420c3c
inc esi
cmp esi, 0xc
jne 0x420bbb
cmp byte [edi + 0x20], 0
je 0x420be9
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
sete bl
jmp 0x420bff
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
jne 0x420bf9
mov al, byte [edi + 0x1a]
cmp al, byte [edi + 0x1e]
je 0x420bfd
xor ebx, ebx
jmp 0x420bff
mov bl, 1
test bl, bl
jne 0x420c0c
lea edx, [edi + 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
inc byte [esp]
test bl, bl
jne 0x420c1f
mov al, byte [esp]
cmp al, byte [edi + 0x34]
jb 0x420b94
test bl, bl
jne 0x420c34
mov dl, 1
mov eax, dword [0x4148ac]
call fcn.004151bc
call fcn.00403c3c
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x420c3c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov edx, dword [edi]
mov eax, ebx
call fcn.004170e4
mov esi, eax
mov dword [edi], esi
and esi, 0xff
add dword [edi + 4], esi
imul esi, dword [edi + 4], 0x8088405
inc esi
mov dword [edi + 4], esi
mov eax, esi
shr eax, 0x18
mov edx, dword [edi + 8]
call fcn.004170e4
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
ret
Function at 0x422504
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor edi, edi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x42253f
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebx + 0xb8]
mov dl, 1
mov eax, dword [0x420940]
call fcn.004209b0
mov edi, eax
test edi, edi
je 0x42256c
mov eax, dword [ebx + 0xf0]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0xf4]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x30]
mov edx, dword [ebx + 0xb8]
call fcn.0040427c
mov al, byte [ebx + 0xbc]
mov byte [edi + 0x34], al
mov eax, dword [ebp - 4]
push eax
push edi
lea ecx, [ebx + 4]
mov dl, 1
mov eax, dword [0x420ce8]
call fcn.00420d7c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x422656
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0041eba4
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x20], al
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, esi
call fcn.0041eb90
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x18], al
mov eax, esi
call fcn.0041ec68
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x90]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x94]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x100]
mov dword [eax + 0x30], edx
mov edx, dword [ebx + 0x104]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x40], ebx
cmp byte [ebx + 0x44], 0
je 0x422635
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov edx, dword [ebx + 0xc]
call fcn.0040427c
mov ax, word [ebx + 0xaa]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x44], ax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x39], 1
mov ax, word [ebx + 0x3c]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x46], ax
mov eax, dword [ebp - 0xc]
call fcn.00420e54
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42265d
mov eax, dword [ebp - 0xc]
call fcn.00403564
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7c696942
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..text
nop
mov ebx, 0x42e1d0
mov ecx, 0x3f7e6fc1
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401e00
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401e70
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401350
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
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 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x404850
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x404881
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x404870
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x40a360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x40a37e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x40a3a4
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x40a390
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.004069f0
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ab80
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a7d4
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x43a080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0xa8
mov dword [ebp - 0x10], edi
call fcn.004293f9
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
je 0x40aca8
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
movups xmmword [esi + 0x48], xmm0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xf
mov byte [esi + 0x48], 0
movups xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0xf
mov byte [esi + 0x60], 0
movups xmmword [esi + 0x78], xmm0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0xf
mov byte [esi + 0x78], 0
movups xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xf
mov byte [esi + 0x90], 0
push 0
push 0
push 0
push 0x52534d42
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [edi], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a8e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43a080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edi + 8], 8
mov byte [ebp - 4], 2
je 0x40b205
test dl, 0x10
jne 0x40b205
mov al, 1
jmp 0x40b207
xor al, al
mov byte [esi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
push dword [edi + 0x18]
call fcn.00423040
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c