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

Disassembly:
int3
inc eax
xor eax, 0xc08504b9
jne 0x407bc3
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esi - 0xc], ebp
mov dword [ebp - 0x24], edx
js 0x407b42
mov dl, byte [ebp + 0x40088817]
std
inc ebp
xchg ecx, eax
mov ecx, dword [ebp - 0x14]
pushfd
push ebp
cld
ror byte cs:[ebp - 0x14], 0x8b
dec ebp
mov dword [0x89ca3b49], eax
dec ebp
aaa
or edi, dword [ecx - 0x74ef0101]
xor eax, 0x84913b10
ror byte [edi], 0xe
pop esp
add eax, 0x4d06ff71
or al, 0x8b
pop edi
hlt
pop edi
pop esi
adc al, cl
call [ebx - 0x75]
in eax, 0x5d
and dword [eax], edx
add byte [esi], dl
mov bh, byte [ebx + 0x40]
add byte [ebp + 0x78], bh
inc eax
add byte [ebp + 0x7004076], dl
ja 0x407c42
add byte [ebp + 0x620040a5], cl
js 0x407c27
mov dl, byte [ecx + ebp*4 + 0x40]
or byte [eax + edi*2 + 0x74ef0040], dl
inc eax
add byte [edi], bh
js 0x407c37
add byte [ecx + eax*4], bh
inc eax
add byte [ebp - 0x74ff715a], bh
insb byte es:[edi], dx
js 0x407c04
add byte [esp + ecx], cl
or al, 0xc
inc edi
inc ecx
mov dword [0xc0c0c0c], eax
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0x7a
mov ch, 0x6d
or al, 0xc
xchg ecx, eax
or al, 0x5d
or al, 0xc
or al, 0xc
or al, 0x1e
or al, 0xc
add dword [esi + 0xc0c0c0c], edx
or al, 0xc
daa
or al, 0x83
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xab
stosd dword es:[edi], eax
or al, 0xc
or al, 0xc
pop ecx
fld dword [edx]
or al, 3
or al, 0xa3
or al, 0xc
and cl, byte [esp + ecx]
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xc
or al, 0xdf
or al, 0xc
or al, 0xc
imul ecx, dword [esp + ecx], 0xc
mov ecx, dword [esp + eax]
push esp
add cl, dl
add ecx, dword [esi + eax]
or al, 0xc
or al, 0xc
jge 0x407c7c
and eax, 0x490aaa0c
or ecx, dword [esp + ecx]
add al, 0x8d
adc byte [eax], al
mov byte [0x890a407b], al
adc al, 0x40
add dword [esi], esp
jp 0x407ccb
sub al, 0x44
jns 0x407ccf
add cl, bl
jns 0x407cd3
add byte [edx + 0x1f004079], ah
jns 0x407cdb
add byte [ecx + edi*2 + 0x40], ah
add byte [ebx + 0x65], dh
inc eax
mov dword [eax], eax
or byte [eax], cl
mov cs, word [eax]
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or al, ah
or byte [eax], cl
or byte [eax], cl
or byte [ebx + 8], bh
or byte [eax], cl
arpl word [eax + 4], bp
or byte [eax], cl
or byte [eax], cl
jns 0x407d1a
or byte [eax], cl
or byte [eax], cl
mov bl, 8
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or ah, bh
or byte [eax], dl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
inc ecx
pushal
or byte [ebx + 0x821087e], al
or byte [eax], cl
add dword [edx], eax
or byte [eax], cl
in al, dx
add cl, byte [eax]
or byte [ebx], al
ret 0x3808
nop
nop
nop
in eax, dx
nop
nop
Function at 0x40918c
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x56a2b5f0
push 0
push ebx
call ebp
loopne 0x409180
mov byte [ecx], dl
inc ecx
cdq
idiv esi
mov byte [ecx], 0x20
inc ecx
add al, 0x30
adc byte [ebx], 0xad
mov byte [ecx], al
mov eax, dword [ebp - 0x6c]
inc ecx
mov al, dh
inc ecx
sti
idiv esi
mov byte [ecx], 0x3a
inc ecx
add al, 0x30
add dl, 0x30
mov byte [ecx], al
mov ecx, dword [edi + 0x4b]
inc ecx
or dl, byte [esi - 0x10866fe]
mov byte [ecx], 0x3a
popfd
pop ds
xor byte [eax + 0x18830c2], al
inc ecx
not byte [ecx]
add bl, byte [ecx + 0x1c6fef7]
cmp bl, byte [ebp - 0x3d7fcfe1]
xor byte [eax + 0x11f64101], cl
inc ecx
mov esi, dword [esi - 0x14]
loopne 0x4091c4
add eax, dword [eax]
xchg edi, eax
invalid
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x62b3233b
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1d583651
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xb9528e6
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4b5d5755
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10002580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ecx, [ebp + 8]
mov edx, ecx
sub esp, 0x50
mov ebx, dword [ecx + 4]
mov esi, dword [ecx]
mov edi, dword [ecx + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + 0xc]
mov edx, dword [edx + 0x14]
cmp ebx, 2
je 0x100026a8
cmp ebx, 0x100
je 0x100025d8
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.comctl32.dll_DefSubclassProc]
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
cmp edi, 0x14
jne 0x100025b1
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [ebp - 0x4c], eax
mov dword [esp], 0x14
call dword [sym.imp.user32.dll_GetKeyState]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
sub esp, 4
test al, 1
jne 0x100026d0
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x44], edx
test eax, eax
je 0x100025b1
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x4c]
pxor xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x40], 0x30
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x411
mov dword [ebp - 0x48], eax
call eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], 1
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x411
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x28]
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
sub esp, 0x10
mov dword [edx + 0x2c], 0
jmp 0x100025b1
mov dword [ebp - 0x44], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], sym._CredDialogPasswordSubclassProc_24
mov dword [esp], esi
call dword [sym.imp.comctl32.dll_RemoveWindowSubclass]
mov ecx, dword [ebp - 0x44]
sub esp, 0xc
jmp 0x100025b1
mov eax, dword [ebp - 0x4c]
call sym._CredDialogShowCapsLockBalloon
mov ecx, dword [ebp - 0x44]
jmp 0x100025b1
Function at 0x10003e80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
test byte [0x10007060], 8
je 0x10003eda
mov edx, dword [ebp + 0xc]
mov eax, str.TRUE
mov ebx, str.FALSE
test edx, edx
cmovne ebx, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.__s___s__n
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.CredUIConfirmCredentialsW
mov dword [esp + 4], 0x10007060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
test esi, esi
je 0x10004030
mov dword [esp], 0x10007040
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [0x10007058]
mov edi, dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 4
cmp ebx, 0x10007058
jne 0x10003f1e
jmp 0x10004028
mov ebx, dword [ebx]
cmp ebx, 0x10007058
je 0x10004028
mov eax, dword [ebx + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
sub esp, 8
test eax, eax
jne 0x10003f10
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
jne 0x10004048
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 8]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x10]
sub esp, 0xc
cmp word [eax], 0
je 0x10003fc7
mov edx, eax
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10003fa8
cmp eax, edx
je 0x10003fc7
lea esi, [esi]
mov ecx, eax
add eax, 1
mov byte [ecx], 0
cmp eax, edx
jne 0x10003fb8
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp], 0x10007040
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov esi, 0x490
jmp 0x10004008
lea esp, [ebp - 0xc]
mov esi, 0x57
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 8
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp], esi
call sym._save_credentials
mov esi, eax
jmp 0x10003f3e
Function at 0x10005420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10005478
cmp byte [esi + ebx - 1], 0xa
je 0x1000544c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000b0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10005e90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x1000b0c0]
test eax, eax
je 0x10005f48
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10005ed0
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x10005ebc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x10005f7d
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1000b0c0], eax
sub esp, 8
test eax, eax
jne 0x10005ead
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x10005ebe
Function at 0x10005f90
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [ebp - 0x10], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10006111
mov eax, dword [esi]
test eax, eax
je 0x10006100
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [ebp - 0x1c], edx
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x10006115
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x100060f8
call dword [edx + 0x28]
sub esp, 8
mov dword [esi + 8], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
not eax
shr eax, 0x1f
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
sub esp, 8
jmp 0x100060b9
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x10005ff6
xor eax, eax
jmp 0x100060e8
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x100060e8
Function at 0x5709d0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x405f00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5415b1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
test edi, eax
je 0x405ffc
lea eax, [ebx + 0x41]
mov edx, str.Drive
mov ecx, 0x58c5c8
mov byte [ebp - 0x31], al
call fcn.0040a520
mov dl, byte [ebp - 0x31]
mov ecx, eax
call fcn.0040a270
mov edx, str.:_is_available.
mov ecx, eax
call fcn.0040a520
push eax
call fcn.0040a7d0
mov al, byte [ebp - 0x31]
lea edx, [ebp - 0x18]
add esp, 4
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x17], 0
call fcn.00420f40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
mov eax, dword [esi + 4]
push ecx
cmp dword [esi + 8], eax
je 0x405fe8
mov ecx, eax
call fcn.00407940
add dword [esi + 4], 0x18
jmp 0x405ff0
push eax
mov ecx, esi
call fcn.0040ac70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00408fb0
inc ebx
cmp ebx, 0x1a
jl 0x405f72
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret 4
Function at 0x40e320
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541ed0
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x57906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040e610
mov ecx, dword [ebx + 8]
mov esi, eax
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.00408390
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

Function at 0x40eec0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x77e4
call fcn.004c70e0
mov eax, dword [0x57906c]
xor eax, esp
mov dword [esp + 0x77e0], eax
push ebx
push esi
push edi
push 0x75d0
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00516f30
add esp, 0xc
lea eax, [esp + 0x75e0]
push 0x208
push 0
push eax
call fcn.00516f30
add esp, 0xc
lea eax, [esp + 0x75e0]
push 0x104
push eax
push 0x5679b8
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [esp + 0x10]
mov edi, str.System32_vlems.dll
mov ebx, 0x3a
push edi
lea eax, [esp + 0x75e4]
push eax
push str._s_s
push 0x104
push esi
call fcn.0040eea0
add esp, 0x14
add esi, 0x208
add edi, 0x208
sub ebx, 1
jne 0x40ef32
mov esi, dword [ebp + 8]
lea eax, [esp + 0x10]
push 0x75d0
push eax
push esi
call fcn.00516430
mov ecx, dword [esp + 0x77f8]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret