joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056e3
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
jmp loc.0071b340

Function at 0x405712
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405756
test edi, edi
jne 0x40571d
and byte [esi], 0
jmp loc.0071ae72
mov eax, esi
jmp 0x405750

Function at 0x40575a
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405d2e
test eax, eax
mov esi, dword [esp + 0x18]
je 0x40577e
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x4058b7
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x448170], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x448170
je 0x4057c2
push 1
push 0
push esi
call fcn.004056e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4058bd
cmp eax, edi
jg 0x4058bd
mov esi, 0x447be8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4058bd
cmp eax, edi
jg 0x4058bd
push esi
push ebp
push str._s_s_r_n
push 0x4477e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x451b70]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405a2e
push 4
push 0xc0000000
push esi
call fcn.004056e3
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x4058b7
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4058b0
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4058b0
cmp edi, dword [esp + 0x18]
jne 0x4058b0
push str._Rename__r_n
push esi
jmp 0x718334
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x451bf0]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4058f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
jmp loc.0071b5a7
Function at 0x401ee2
Capabilities:
Terminate process

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

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407571
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407571
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407571
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407571
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407571
mov dword [0x41203c], eax
call fcn.00407571
test eax, eax
jge 0x402550
push 8
call fcn.00407571
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407571
pop ecx
push 1
call fcn.00407571
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407571
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407571
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407571
jmp 0x402495

Function at 0x407571
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x407580
pop dword [ebp - 0x38]
mov eax, 0x2d7bc3a7
add eax, 0xd2c4b1d9
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x351b8
push 0
mov eax, 0x798e4bae
sub eax, 0x794d6ad6
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x2eddeb4b
add ecx, 0xd1224c01
mov edi, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 0x38]
mov edx, 0x31083232
add edx, 0x311e9f2b
add dword [ebp - 0x2c], 0xa83aa755
mov esi, dword [ebx]
xor dword [ebp - 0x1c], ecx
add esi, edx
mov dword [ebp - 0x20], 0xda3d56e8
mov dword [edi], esi
add dword [ebp - 0x2c], 0x5d94cf8b
add edi, 0xae480194
add edi, 0x51b7fe70
add ebx, 4
loop 0x4075d9
add eax, 0xa305f005
sub eax, 0xa3052002
mov ebx, eax
add eax, 0x7e1d324d
add eax, 0x81e2cdb8
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40602f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x406046
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
inc ebp
int 0x7f

Function at 0x4063ef
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40640c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x406407
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4063f1
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4063f9
cmp edx, ebx
jne 0x406547
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4063c8
add eax, dword [eax + 4]
jmp 0x4063b5
mov dword [ebp + 0xc], ebx
jmp 0x406417
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40642f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40644d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4064ab
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x406492
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40649b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4064a5
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x406487
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x406411
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4064f8
dec eax
je 0x4064ef
sub eax, 3
je 0x4064e6
mov dword [ebp - 4], 0x40
jmp 0x406515
mov dword [ebp - 4], 4
jmp 0x4064fb
mov dword [ebp - 4], 0x20
jmp 0x4064fb
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x406547
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4064c7
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406c61
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00405d36
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00405d68
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00405d1d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00405d58
xchg esp, eax
inc edi
in eax, dx

Function at 0x40712f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 5], ch
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00405cc9
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x407165
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4071ae
invalid
test dword [eax], eax
stc
invalid

Function at 0x408543
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x4085c5
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4085c5
cmp dword [ebp - 8], 1
jne 0x4085c5
mov eax, dword [ebp - 4]
xor ecx, ecx
push esi
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d02a
mov esi, eax
pop ecx
test esi, esi
je 0x4085c4
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4085bd
push esi
call fcn.004013ea
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.00401786
push esi
call fcn.0040d033
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4
Function at 0x408ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x408fce
Capabilities:
Get file version info

Disassembly:
push 0x10
mov eax, 0x42b867
call fcn.0040d540
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.NGUtils::AFileVersionInfo.0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.NGUtils::CFileVersionInfo.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 4], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x4090a4
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x4090a4
mov byte [ebp - 4], 1
push ebx
call fcn.0040d02a
pop ecx
mov dword [esi + 0xc], eax
mov dword [ebp - 4], edi
jmp 0x40904d
cmp dword [esi + 0xc], 0
je 0x4090a4
push dword [esi + 0xc]
push ebx
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4090a4
mov dword [ebp + 8], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x10]
push eax
push 0x439750
push dword [esi + 0xc]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call edi
test eax, eax
je 0x409092
mov eax, dword [ebp + 8]
shr eax, 2
mov dword [esi + 8], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [esi + 4]
push eax
push 0x438f84
push dword [esi + 0xc]
call edi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040d49e
ret 4

Function at 0x4094a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret 0x28

Function at 0x409570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x409650
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esp, ebp
pop ebp
ret 8
Function at 0x409810
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret 4

Function at 0x40a360
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esp, ebp
pop ebp
ret 8

Function at 0x41ee52
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041eb15

Function at 0x41ee5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ec96

Function at 0x422d74
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422a34
Function at 0x405940
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5e4c
call fcn.00414e60
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x5e1c]
mov esi, ecx
push eax
lea eax, [ebp - 0x5e18]
mov dword [ebp - 0x5e24], esi
push eax
push 0
push 0
mov dword [ebp - 0x5e24], esi
push 2
mov dword [ebp - 0x5e1c], 0x5e00
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x4059d6
lea ecx, [ebp - 0x5e23]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov dword [ebp - 0x5e24], 0x4d4f4e4e
mov word [ebp - 0x5e20], 0x4341
mov byte [ebp - 0x5e1e], 0
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4059c3
sub ecx, edx
lea eax, [ebp - 0x5e23]
push ecx
push eax
jmp 0x405a24
lea edx, [ebp - 0x5e18]
nop dword [eax]
cmp dword [edx + 0x34], 0
je 0x405a0a
mov eax, dword [edx + 0x10]
test eax, eax
je 0x405a0a
nop dword [eax]
lea ecx, [eax + 0xc]
test ecx, ecx
je 0x405a03
mov ecx, dword [ecx]
test ecx, ecx
je 0x405a03
cmp word [ecx], 2
je 0x405a3c
mov eax, dword [eax + 8]
test eax, eax
jne 0x4059f0
mov edx, dword [edx + 8]
test edx, edx
jne 0x4059e0
push 5
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0xf
mov byte [esi], dl
push str.NOMAC
mov ecx, esi
call fcn.0040c5e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00413f5b
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx + 0x2f]
xor ecx, ecx
movaps xmm0, xmmword [0x443aa0]
mov dword [ebp - 0x5e48], eax
movzx eax, byte [edx + 0x2e]
push ebx
movzx ebx, byte [edx + 0x30]
mov dword [ebp - 0x5e4c], eax
movzx eax, byte [edx + 0x2d]
push edi
movzx edi, byte [edx + 0x31]
movzx edx, byte [edx + 0x2c]
mov dword [ebp - 0x5e24], eax
movups xmmword [ebp - 0x5e44], xmm0
mov dword [ebp - 0x5e34], 0x543e3c29
mov dword [ebp - 0x5e30], 0x3e3c2936
mov dword [ebp - 0x5e2c], 0x3c293654
mov word [ebp - 0x5e28], 0x543e
mov byte [ebp - 0x5e26], 0
nop word [eax + eax]
mov al, byte [ebp - 0x5e44]
xor byte [ebp + ecx - 0x5e43], al
inc ecx
cmp ecx, 0x1d
jb 0x405ab0
push edi
push ebx
push dword [ebp - 0x5e48]
lea eax, [ebp - 0x5e43]
mov byte [ebp - 0x5e26], 0
push dword [ebp - 0x5e4c]
push dword [ebp - 0x5e24]
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040e0f0
add esp, 0x20
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x18]
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea edx, [ecx + 1]
pop edi
pop ebx
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405b10
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
jmp 0x405a24
Function at 0x4063d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov esi, ecx
push eax
push 0
mov dword [ebp - 0x88], esi
lea eax, [ebp - 0x8f]
mov dword [ebp - 0x88], esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
push 0
push eax
mov dword [ebp - 0x90], 0x5c3a4311
mov byte [ebp - 0x8c], 0
call edi
test eax, eax
jne 0x4064f6
push eax
push eax
push eax
push eax
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x88]
push eax
push 0
push 0
lea eax, [ebp - 0x8f]
mov dword [ebp - 0x90], 0x5c3a440d
push eax
call edi
test eax, eax
jne 0x4064f6
push eax
push eax
push eax
push eax
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x88]
push eax
push 0
push 0
lea eax, [ebp - 0x8f]
mov dword [ebp - 0x90], 0x5c3a455b
push eax
call edi
test eax, eax
jne 0x4064f6
push eax
push eax
push eax
push eax
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x88]
push eax
push 0
push 0
lea eax, [ebp - 0x8f]
mov dword [ebp - 0x90], 0x5c3a4629
push eax
call edi
test eax, eax
jne 0x4064f6
push eax
push eax
push eax
push eax
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x88]
push eax
push 0
push 0
lea eax, [ebp - 0x8f]
mov dword [ebp - 0x90], 0x5c3a4724
push eax
call edi
test eax, eax
jne 0x4064f6
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
push 0x44367b
jmp 0x406541
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push 0x44386c
push eax
call fcn.004013b0
lea ecx, [ebp - 0x84]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
add esp, 0xc
mov byte [esi], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406530
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
mov ecx, esi
call fcn.0040c5e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00413f5b
mov esp, ebp
pop ebp
ret
Function at 0x409d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x409e58
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x409e47
jg 0x409db0
test edx, edx
je 0x409e47
nop dword [eax]
call fcn.0040bf80
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x409e04
jg 0x409dc7
test esi, esi
je 0x409e04
cmp ebx, eax
jg 0x409dd7
jl 0x409dd1
cmp edi, esi
jae 0x409dd7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00415640
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x409e2b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x409e41
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x409db0
jl 0x409e41
test edi, edi
jne 0x409db0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x409e7a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x409e7c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x409efa
jg 0x409e8f
test esi, esi
je 0x409efa
test eax, eax
jl 0x409ede
jg 0x409e99
test ebx, ebx
je 0x409ede
cmp edi, eax
jg 0x409ea9
jl 0x409ea3
cmp esi, ebx
jae 0x409ea9
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00415640
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x409efa
jg 0x409ee1
test esi, esi
je 0x409efa
jmp 0x409ee1
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x409efa
push eax
push esi
push 1
push edx
call fcn.0041b914
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc