joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cd19
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.0043cce6
push 2
push 0x439738
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00446fda
push 0x439734
call fcn.00445e72
add esp, 0x14
test eax, eax
jne 0x43cdfe
call fcn.0043efc7
test eax, eax
je 0x43cdfe
call fcn.004446b4
push 0
push eax
call fcn.00447a9c
test eax, eax
pop ecx
pop ecx
je 0x43cd76
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.00444803
push 0x40
push 0x1000
mov ebx, 0x2f9a8
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x404310
mov edi, eax
push ebx
mov ecx, 0xbe6a
mov esi, 0x409a90
push eax
mov dword [ebp - 4], eax
rep movsd dword es:[edi], dword [esi]
call fcn.00446800
xor edi, edi
push edi
push edi
push 0x2f
push dword [ebp - 4]
call dword [ebp - 4]
add esp, 0x1c
push 0x8000
push edi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x439730
call fcn.00445e72
test eax, eax
pop ecx
je 0x43cddb
push 3
jmp 0x43cddd
push 2
call dword [esi + 0x34]
call fcn.0043c5c0
push 3
call dword [esi + 0x34]
call fcn.0043cc39
mov eax, dword [0x4028a8]
dec dword [eax + 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
call fcn.0043cd07
push 0xffffffffffffffff
call fcn.00447a59
int3

Function at 0x43efd6
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push edi
push 0x17
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov eax, edx
pop edi
pop ebp
ret

Function at 0x44332e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 8]
push edi
xor edx, edx
xor ecx, dword [eax + edx*4]
mov dword [ebp + 8], ecx
movzx edi, byte [ebp + 0xa]
mov edi, dword [eax + edi*4 + 0x448]
mov ebx, ecx
shr ebx, 0x18
add edi, dword [eax + ebx*4 + 0x48]
movzx ebx, ch
xor edi, dword [eax + ebx*4 + 0x848]
mov dword [ebp - 4], ecx
and ecx, 0xff
add edi, dword [eax + ecx*4 + 0xc48]
xor edi, esi
mov esi, dword [ebp - 4]
inc edx
cmp edx, 0x10
mov ecx, edi
jl 0x443344
mov edx, dword [eax + 0x40]
xor edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp + 0xc]
pop edi
xor eax, esi
pop esi
mov dword [ecx], eax
pop ebx
leave
ret
Function at 0x4433e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 8]
push edi
push 0x11
pop edx
xor ecx, dword [eax + edx*4]
mov dword [ebp + 8], ecx
movzx edi, byte [ebp + 0xa]
mov edi, dword [eax + edi*4 + 0x448]
mov ebx, ecx
shr ebx, 0x18
add edi, dword [eax + ebx*4 + 0x48]
movzx ebx, ch
xor edi, dword [eax + ebx*4 + 0x848]
mov dword [ebp - 4], ecx
and ecx, 0xff
add edi, dword [eax + ecx*4 + 0xc48]
xor edi, esi
mov esi, dword [ebp - 4]
dec edx
cmp edx, 1
mov ecx, edi
jg 0x4433fc
mov edx, dword [eax + 4]
xor edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
pop edi
xor eax, esi
pop esi
mov dword [ecx], eax
pop ebx
leave
ret

Function at 0x4434a5
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x38
xor ecx, ecx
pop eax
cmp dword [ebp + 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
jl 0x4434be
mov dword [ebp + 0x10], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x4056e0
mov dword [ebp - 0xc], ecx
mov ecx, ebx
sub edi, ebx
mov dword [ebp - 0x10], 0x12
xor esi, esi
mov dword [ebp + 8], 4
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
shl esi, 8
movzx eax, byte [edx + eax]
or esi, eax
inc dword [ebp - 0xc]
dec dword [ebp + 8]
jne 0x4434e0
mov eax, dword [edi + ecx]
xor eax, esi
mov dword [ecx], eax
add ecx, 4
dec dword [ebp - 0x10]
jne 0x4434d7
mov ecx, 0x400
mov esi, 0x405728
lea edi, [ebx + 0x48]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call fcn.0044332e
mov eax, dword [ebp - 4]
mov dword [ebx + esi*4], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebx + esi*4 + 4], eax
inc esi
inc esi
cmp esi, 0x12
jl 0x44351b
lea esi, [ebx + 0x4c]
mov dword [ebp + 0x10], 4
mov edi, 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call fcn.0044332e
mov eax, dword [ebp - 4]
mov dword [esi - 4], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
add esp, 0xc
add esi, 8
dec edi
jne 0x44354f
dec dword [ebp + 0x10]
jne 0x44354a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x444682
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 3
call fcn.0043d0c9
push eax
push dword [ebp + 8]
push 0x439868
call fcn.00444511
add esp, 0xc
push eax
push 0x408b20
call fcn.0043d0ee
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00447a59
int3
Function at 0x444803
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.0043d0de
mov edi, eax
call fcn.0043d0c9
test edi, 0x70900000
mov ebx, eax
mov esi, 0x408b20
jne 0x44482e
call fcn.0043d0b3
cmp dword [eax], 0
jne 0x44483f
push 3
call fcn.0043d203
push eax
push esi
call fcn.0043d0ee
add esp, 0xc
cmp edi, 0x10000
mov eax, dword [ebp + 8]
jne 0x444866
test eax, eax
jne 0x444853
mov eax, 0x4398ac
push 3
push ebx
push eax
push 0x4398a4
call fcn.00444511
add esp, 0xc
jmp 0x44489e
test edi, 0x7fff0000
jne 0x444883
test eax, eax
jne 0x444877
mov eax, 0x4398ac
push 3
push ebx
push edi
push eax
push 0x439898
jmp 0x444896
test eax, eax
jne 0x44488c
mov eax, 0x4398ac
push 3
push ebx
push edi
push eax
push 0x439888
call fcn.00444511
add esp, 0x10
push eax
push esi
call fcn.0043d0ee
add esp, 0xc
test edi, 0x70000000
je 0x4448b5
jmp 0x448266
push 0
push 0xffffffffffffffff
push 0
call fcn.00444351
add esp, 0xc
push edi
call fcn.00447a59
int3

Function at 0x4467a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
xor eax, eax
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
push 0xf
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x40], cl
pop ecx
push dword [ebp + 0xc]
lea edi, [ebp - 0x3f]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5c]
push eax
call fcn.0043f89f
push dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
push eax
call fcn.00445ee3
add esp, 0x14
pop edi
leave
ret

Function at 0x446a94
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
call fcn.004469d3
mov edi, eax
lea eax, [ebp - 4]
push 0x43ef95
push eax
call fcn.004442f1
mov ebx, dword [ebp + 0xc]
test ebx, ebx
pop ecx
pop ecx
jne 0x446ac1
push 3
pop ebx
lea eax, [ebp - 0x254]
push eax
push 0
push 0x439abc
push dword [ebp + 8]
call fcn.00445294
push eax
call fcn.00444c01
add esp, 0xc
push eax
call fcn.004442f1
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x446b6b
cmp esi, 0xffffffff
je 0x446b6b
lea eax, [ebp - 0x228]
push 0x439ab8
push eax
call fcn.00448304
test eax, eax
pop ecx
pop ecx
je 0x446b52
lea eax, [ebp - 0x228]
push 0x439ab0
push eax
call fcn.00448304
test eax, eax
pop ecx
pop ecx
je 0x446b52
mov eax, dword [ebp - 0x254]
and al, 0x10
neg al
sbb eax, eax
inc eax
inc eax
test ebx, eax
je 0x446b52
lea eax, [ebp - 0x228]
push eax
call fcn.00444c61
push eax
push 0xffffffffffffffff
push edi
call fcn.00446151
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446afa
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 4]
push eax
push 0
push 0
call fcn.00444351
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447996
Capabilities:
Terminate process

Disassembly:
push 8
push 0x439c48
call fcn.0044c0a4
push 8
call fcn.0044b54f
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4029e8], esi
jne 0x4479ca
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4029e4], esi
mov al, byte [ebp + 0x10]
mov byte [0x4029e0], al
cmp dword [ebp + 0xc], edi
jne 0x447a14
cmp dword [0x4032f0], edi
je 0x447a04
mov eax, dword [0x4032ec]
sub eax, 4
mov dword [0x4032ec], eax
cmp eax, dword [0x4032f0]
jb 0x447a04
mov eax, dword [eax]
cmp eax, edi
je 0x4479e5
call eax
jmp 0x4479e5
push 0x4011d4
mov eax, 0x4011c8
call fcn.00447914
pop ecx
push 0x4011dc
mov eax, 0x4011d8
call fcn.00447914
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x447a45
cmp dword [ebp + 0x10], edi
jne 0x447a53
mov dword [0x4029e8], esi
push dword [ebp + 8]
call fcn.004478d2
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x447a52
push 8
call fcn.0044b49a
pop ecx
ret
call fcn.0044c0df
ret

Function at 0x448e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4094e4]
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 4], eax
je 0x448e9f
push esi
call fcn.0044f66f
test eax, eax
pop ecx
jne 0x448e67
call fcn.00448da4
mov dword [eax], 0xf
call fcn.00448d9b
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.0044f6d7
leave
ret
and word [ebp - 6], 0
lea eax, [ebp - 0x218]
push eax
add esi, 0x40
lea eax, [ebp - 0x214]
push eax
mov word [ebp - 0xc], si
mov esi, 0x104
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x448eb2
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x448e5a
inc eax
cmp eax, esi
ja 0x448e5a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x448ee9
cmp eax, dword [ebp + 0x10]
jg 0x448eca
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
call fcn.00448a20
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x448efe
call fcn.00448d9b
mov dword [eax], 0xc
jmp 0x448e5a
cmp eax, dword [ebp + 0x10]
jle 0x448efe
call fcn.00448d9b
mov dword [eax], 0x22
jmp 0x448e5a
lea eax, [ebp - 0x214]
push eax
push ecx
call fcn.004478b6
pop ecx
pop ecx
jmp 0x448e5c
Function at 0x44b1d1
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x18
push 0x439fd8
call fcn.0044c0a4
mov edi, 0x94
mov eax, edi
call fcn.00449f80
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4029a8], ecx
mov eax, dword [esi + 4]
mov dword [0x4029b4], eax
mov edx, dword [esi + 8]
mov dword [0x4029b8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4029ac], esi
cmp ecx, 2
je 0x44b231
or esi, 0x8000
mov dword [0x4029ac], esi
shl eax, 8
add eax, edx
mov dword [0x4029b0], eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x44b26a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44b26a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44b282
cmp eax, 0x20b
je 0x44b26f
mov dword [ebp - 0x1c], edi
jmp 0x44b296
cmp dword [ecx + 0x84], 0xe
jbe 0x44b26a
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x44b290
cmp dword [ecx + 0x74], 0xe
jbe 0x44b26a
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044b3ab
pop ecx
test eax, eax
jne 0x44b2aa
push 0x1c
call fcn.0044b1ad
pop ecx
call fcn.0044c5fc
test eax, eax
jne 0x44b2bb
push 0x10
call fcn.0044b1ad
pop ecx
call fcn.0044d77b
mov dword [ebp - 4], edi
call fcn.0044d27e
test eax, eax
jge 0x44b2d4
push 0x1b
call fcn.0044b188
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4032e4], eax
call fcn.004525ff
mov dword [0x402ae4], eax
call fcn.0045255d
test eax, eax
jge 0x44b2fa
push 8
call fcn.0044b188
pop ecx
call fcn.0045232a
test eax, eax
jge 0x44b30b
push 9
call fcn.0044b188
pop ecx
push 1
call fcn.0044792c
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x44b321
push eax
call fcn.0044b188
pop ecx
mov eax, dword [0x4029c8]
mov dword [0x4029cc], eax
push eax
push dword [0x4029c0]
push dword [0x4029bc]
call fcn.0043cd19
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], edi
jne 0x44b350
push esi
call fcn.00447a59
call fcn.00447a7b
jmp 0x44b382
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.0044c0df
ret
Function at 0x44d8f2
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4094e4]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x44d923
xor eax, eax
jmp 0x44daac
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x4031c0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x44d95f
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.004532d9
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x44da3a
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x44da78
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x44d9c3
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x44d9b4
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x44d994
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44da03
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x44da0c
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x44d985
jmp 0x44da0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x44daa7
cmp dword [ebp - 0x6c], edi
je 0x44da78
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x44da6d
call fcn.00448d9b
mov dword [eax], 9
call fcn.00448da4
mov dword [eax], esi
jmp 0x44daa2
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44da62
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x44da0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x44da0e
push dword [ebp - 0x6c]
call fcn.00448dad
pop ecx
jmp 0x44daa2
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x44da90
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x44da90
xor eax, eax
jmp 0x44daaa
call fcn.00448d9b
mov dword [eax], 0x1c
call fcn.00448da4
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x44daaa
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.0044f6d7
add ebp, 0x3a0
leave
ret
Function at 0x44ddce
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4094e4]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x409250]
je 0x44de03
inc eax
cmp eax, 0x13
jb 0x44ddf4
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x409250]
jne 0x44df29
mov eax, dword [0x402aec]
cmp eax, 1
je 0x44df01
cmp eax, edx
jne 0x44de33
cmp dword [0x4090d4], 1
je 0x44df01
cmp ecx, 0xfc
je 0x44df29
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44de69
lea eax, [ebp - 0x80]
push 0x43aa5c
push eax
call fcn.0044e980
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0044d6f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44de9d
mov eax, edi
push eax
call fcn.0044d6f0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x43aa58
push edi
call fcn.0044a300
add esp, 0x10
push edi
call fcn.0044d6f0
push dword [esi + 0x409254]
mov ebx, eax
call fcn.0044d6f0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00449f80
mov ebx, esp
push 0x43aa3c
push ebx
call fcn.0044e980
push edi
push ebx
call fcn.0044e990
push 0x43aa38
push ebx
call fcn.0044e990
push dword [esi + 0x409254]
push ebx
call fcn.0044e990
push 0x12010
push 0x43aa10
push ebx
call fcn.0045335c
add esp, 0x2c
jmp 0x44df29
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x409254]
push dword [esi]
call fcn.0044d6f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.0044f6d7
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret

Function at 0x44f66f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x44f69d
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x44f6a2
cmp eax, 1
je 0x44f6a2
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x44f6e5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00449f80
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44f780
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4029a8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x44f780
cmp eax, 1
je 0x44f7a1
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44f780
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44f74d
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44f77c
xor eax, eax
inc eax
jmp 0x44f7c0
cmp edi, eax
jae 0x44f784
xor eax, eax
jmp 0x44f7c0
cmp eax, esi
jae 0x44f78b
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4029a8]
jmp 0x44f7a4
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44fa61
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x43aec0
call fcn.0044c0a4
mov eax, dword [0x4094e4]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x44fb05
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.00449f80
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x44faf2
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44fb05
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x44fb20
cmp byte [edi + 1], 0x3a
jne 0x44fb20
movzx eax, byte [edi]
push eax
call fcn.004483ff
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x44fb30
push edi
call fcn.0044746e
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.0044f6d7
call fcn.0044c0df
ret
Function at 0x45008d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x450261
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4031c0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x450261
test cl, 0x48
je 0x4500f8
cmp byte [eax + 5], 0xa
je 0x4500f8
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45014a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x450132
call fcn.00448d9b
mov dword [eax], 9
call fcn.00448da4
mov dword [eax], esi
jmp 0x450142
cmp eax, 0x6d
je 0x450261
push eax
call fcn.00448dad
pop ecx
or eax, 0xffffffff
jmp 0x450263
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x45025c
test eax, eax
je 0x450171
cmp byte [ebx], 0xa
jne 0x450171
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x45017a
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x450256
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x450246
cmp al, 0xd
je 0x4501ac
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x450238
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4501c6
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4501c1
add dword [ebp + 0x10], 2
jmp 0x45021a
mov dword [ebp + 0x10], eax
jmp 0x450234
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4501ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450234
cmp dword [ebp - 0xc], 0
je 0x450234
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x45020f
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x45021a
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x450237
cmp ebx, dword [ebp + 0xc]
jne 0x45021f
cmp byte [ebp - 1], 0xa
jne 0x45021f
mov byte [ebx], 0xa
jmp 0x450237
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00450313
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x450238
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x450190
jmp 0x450256
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x450256
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x450263
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret