joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea65
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
jle 0x40ea94
push esi
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x40ea8d
mov eax, dword [ebp + 0x10]
lea esi, [edi + eax]
mov eax, dword [ebp + 8]
mov dl, byte [esi]
add eax, ecx
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x40ea7e
inc edi
cmp edi, dword [ebp + 0x14]
jl 0x40ea71
pop esi
pop edi
pop ebp
ret

Function at 0x40ee39
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], 0x415438
mov eax, dword [ebp - 8]
mov esi, dword [eax]
sub esi, dword [ebp + 0x10]
add esi, dword [ebp + 8]
mov al, byte [esi + 1]
mov bl, byte [esi]
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, bl
push 2
add ecx, 0xfffffffe
pop edi
cmp ecx, edi
jle 0x40ee7f
mov dl, byte [edi + esi]
xor dl, al
xor dl, byte [ebp - 1]
mov byte [edi + esi], dl
inc edi
inc edi
cmp edi, ecx
jl 0x40ee6e
add dword [ebp - 8], 4
mov byte [esi + 1], al
cmp dword [ebp - 8], 0x415560
jl 0x40ee48
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x40eeca
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push eax
push 0x40eee7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
ret

Function at 0x40f128
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x40f159
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 8]
push 1
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp ebx, edi
pop esi
je 0x40f186
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
call fcn.00404833
lea ecx, [ebp + 0x10]
call fcn.00404833
lea ecx, [ebp + 0x14]
call fcn.00404833
pop edi
pop ebx
leave
ret

Function at 0x40f36a
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x2000000
push 3
push edi
push 5
push 0x80000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
je 0x40f3a4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x40f3a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push edi
push 0x41568c
call fcn.004049bf
push dword [ebp + 8]
call fcn.0040f36a
mov edi, eax
pop ecx
cmp edi, 0xffffffff
je 0x40f432
xor ebx, ebx
push ebx
push 0x2000000
push 3
push ebx
push 5
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40f432
lea eax, [edi + 1]
push esi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
cmp esi, ebx
je 0x40f424
lea eax, [ebp - 4]
push ebx
push eax
push edi
push esi
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0xc]
push esi
mov byte [esi + edi], bl
call fcn.004049bf
push esi
call fcn.004102be
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
jmp 0x40f434
xor al, al
pop edi
pop ebx
leave
ret

Function at 0x40f438
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0x2000000
push 3
push 0
push 5
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f462
xor al, al
jmp 0x40f489
push ebx
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0x10]
and dword [ebp + 8], 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
pop ebp
ret

Function at 0x40f48c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
push esi
push 0x8000080
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40f4b6
xor al, al
jmp 0x40f4d4
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp + 8], esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebp
ret
Function at 0x40f6b8
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412ba0
push 0x4103b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
push esi
push edi
xor ebx, ebx
mov byte [ebp - 0x40], bl
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x80], bl
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], ebx
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x40f77b
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40f77b
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40f77b
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push 2
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x40f79a
push 0x41568c
mov ecx, dword [ebp + 8]
call fcn.0040485f
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call sub.MSVCRT.dll__local_unwind2
pop ecx
pop ecx
jmp 0x40f83c
mov byte [ebp - 0x278], bl
push 0x7c
pop ecx
xor eax, eax
lea edi, [ebp - 0x277]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, byte [ebp - 0x31]
push eax
movzx eax, byte [ebp - 0x32]
push eax
movzx eax, byte [ebp - 0x33]
push eax
movzx eax, byte [ebp - 0x34]
push eax
movzx eax, byte [ebp - 0x35]
push eax
movzx eax, byte [ebp - 0x36]
push eax
movzx eax, byte [ebp - 0x37]
push eax
movzx eax, byte [ebp - 0x38]
push eax
movzx eax, byte [ebp - 0x39]
push eax
movzx eax, byte [ebp - 0x3a]
push eax
movzx eax, byte [ebp - 0x3b]
push eax
movzx eax, byte [ebp - 0x3c]
push eax
movzx eax, byte [ebp - 0x3d]
push eax
movzx eax, byte [ebp - 0x3e]
push eax
movzx eax, byte [ebp - 0x3f]
push eax
movzx eax, byte [ebp - 0x40]
push eax
lea eax, [ebp - 0x278]
push eax
push 0x82
push 0x412ab4
call fcn.0040580e
add esp, 0xc
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x48
or dword [ebp - 4], 0xffffffff
call fcn.0040f850
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040485f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f937
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov al, byte [ebp + 0xb]
push esi
push edi
mov byte [ebp - 0x10], al
push 0x4f
xor eax, eax
pop ecx
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40f9b7
lea eax, [ebp - 0x124]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040485f
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040fb42
lea ecx, [ebp + 0xc]
call fcn.00404833
lea eax, [ebp - 0x150]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40f97b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0040fada
lea ecx, [ebp - 0x10]
call fcn.004075b0
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x4079d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4079e8
pop dword [ebp - 0x44]
mov eax, 0x4079e8
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x32fa2
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x2dae
xor edi, edi
add edi, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 0x44]
mov esi, 0x5cec61c1
add esi, 0x2804853a
add dword [ebp - 0x38], ebx
mov edx, dword [ebx]
xor dword [ebp - 8], edx
sub edx, esi
xor dword [ebp - 0xc], 0xed3de1ee
mov dword [edi], edx
add dword [ebp - 0x38], 0x18d3293a
add edi, 0x2cb2626f
sub edi, 0x2cb2626b
add ebx, 0x1ed507e4
sub ebx, 0x1ed507e0
loop 0x407a33
add eax, 0xa98b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
mov ecx, 0x319e6eac
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x10ae28a5
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ae2f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x821d78]
jne 0x40ae39
repz ret
jmp fcn.0040da5c

Function at 0x40d473
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x821d78]
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.004064c4
and dword [ebp - 0x14], 0
cmp dword [0x825744], 0
mov dword [ebp - 0x18], eax
jne 0x40d526
push 0x402c4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d5ce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c40
push ebx
call edi
test eax, eax
je 0x40d5ce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402c30
push ebx
mov dword [0x825744], eax
call edi
push eax
call esi
push 0x402c1c
push ebx
mov dword [0x825748], eax
call edi
push eax
call esi
push 0x402c00
push ebx
mov dword [0x82574c], eax
call edi
push eax
call esi
mov dword [0x825754], eax
test eax, eax
je 0x40d526
push 0x402be8
push ebx
call edi
push eax
call esi
mov dword [0x825750], eax
mov eax, dword [0x825750]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d57f
cmp dword [0x825754], ecx
je 0x40d57f
push eax
call esi
push dword [0x825754]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d57f
test ebx, ebx
je 0x40d57f
call edi
test eax, eax
je 0x40d576
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d576
test byte [ebp - 8], 1
jne 0x40d57f
or dword [ebp + 0x10], 0x200000
jmp 0x40d5b2
mov eax, dword [0x825748]
cmp eax, dword [ebp - 0x18]
je 0x40d5b2
push eax
call esi
test eax, eax
je 0x40d5b2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d5b2
mov eax, dword [0x82574c]
cmp eax, dword [ebp - 0x18]
je 0x40d5b2
push eax
call esi
test eax, eax
je 0x40d5b2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x825744]
call esi
test eax, eax
je 0x40d5ce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d5d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ae2f
leave
ret
Function at 0x809280
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1420
call fcn.0040e9e0
cmp dword [0x26676c4], 0x37
jne 0x809337
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x403430
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x403448
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034a0
push 0x4034b8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x403558
push 0x403618
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [0x26676c8]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x82a854]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x809370
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov edx, dword [0x822380]
push ebx
push ebp
mov ebp, dword [0x82237c]
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x822378]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x822384]
mov ebx, 0xc6ef3720
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x8093c4
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x20]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub esi, edx
mov ecx, esi
shl ecx, 4
mov dword [0x265d674], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0x26676c4], 0x1be
lea edi, [ebx + esi]
jne 0x809419
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, ebp
xor eax, edi
xor dword [esp + 0x10], eax
mov dword [0x265d678], 0xff6b3619
mov dword [0x265d67c], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov ecx, dword [0x26676c4]
cmp ecx, 0x93
je 0x80945d
lea eax, [esp + 0x18]
call fcn.00809360
mov ebx, dword [esp + 0x18]
dec dword [esp + 0x1c]
jne 0x8093c0
cmp ecx, 0x8d4
jne 0x809491
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x64
ret 4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
Function at 0x8094b0
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x26676c4]
shr eax, 3
push esi
mov esi, dword [0x82a854]
test eax, eax
je 0x8094f4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x26676c4], 0x1c
jne 0x8094e6
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.00809370
add esi, 8
dec edi
jne 0x8094d0
pop edi
pop ebx
pop esi
pop ecx
ret
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
mov ecx, 0x3da964dd
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x25ab5f9d
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219