joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42069b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x20
jne 0x4206c2
inc dword [ebp + 8]
jmp 0x4206ab
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 1]
cmp eax, 0x3a
jne 0x4206f7
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
push eax
call dword [sym.imp.MSVCRT20.dll_toupper]
add esp, 4
mov byte [ebp - 0x18], al
mov byte [ebp - 0x17], 0x3a
mov byte [ebp - 0x16], 0x5c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x420728
mov eax, 0x7fffffff
jmp 0x42075b
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 8]
mov eax, 0x7fffffff
sub edx, edx
div ecx
cmp eax, dword [ebp - 4]
jb 0x420751
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x14]
imul eax, dword [ebp - 8]
jmp 0x420756
mov eax, 0x7fffffff
jmp 0x42075b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420c29
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT20.dll__mkdir]
add esp, 4
jmp 0x420c41
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420ea8
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp dword [0x42c198], 0
je 0x420ec9
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00420fe9
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT20.dll__rmdir]
add esp, 4
jmp 0x420edb
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420f36
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT20.dll_rename]
add esp, 8
jmp 0x420f52
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42108d
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0
push 0x2000000
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4210c9
mov eax, 0xffffffff
jmp 0x421116
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041ff20
add esp, 8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x421116
pop edi
pop esi
pop ebx
leave
ret
Function at 0x56e608
Capabilities:
Encode data using xor

Disassembly:
add dword [ebp + 0x10f7d38d], edx
leave
xor al, 1
add dword [ebp - 0xf7f0ede], ebp
inc esp
Function at 0x4065ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406612
xor eax, eax
test eax, eax
je 0x406625
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406625
xor ecx, ecx
jmp 0x406628
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406751
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427d8c], 0
push esi
jne 0x406788
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406762
mov dword [ecx*4 + 0x427d88], eax
inc ecx
cmp ecx, 0x100
jl 0x40675d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067b9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427d88]
xor eax, esi
inc ecx
dec edx
jne 0x40679b
pop edi
not eax
pop esi
ret 0xc

Function at 0x15318c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x15318ca
pushal
call 0x15318d0
pop ebp
sub ebp, 0x10
adc byte [eax], al
add byte [eax], al
sub ebp, 0x11318c0
jmp 0x15318e6
mov eax, 0x11318c0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d4
mov edx, 0x749b1717
xor byte [eax], dl
inc eax
dec ecx
jne 0x15318fd
jmp 0x1531910
pushfd
ficomp dword [esi + ebx*4 + 0x1717172b]
xchg esi, eax
salc
out dx, eax
pop ss
pop ss
pop ss
adc al, 0xda
scasd eax, dword es:[edi]
adc dword [edi], edx
pop ss
pop ss
lodsd eax, dword [esi]
aas
pop ss
pop ss
pop ss
loopne 0x1531921
adc al, 0xdf
pushfd
xchg esi, eax
sbb edx, dword [edi]
pop ss
pop ss
adc al, 0xd2
lcall 0x3313, 0x9eeb3373
inc edi
jg 0x15318d3
or eax, 0x2e7f170a
jmp 0x3c69312c

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4c240bd1
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x41f126d6
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40a030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x40a038
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a04b
test al, 0x10
je 0x40a04b
mov al, 1
ret
xor al, al
ret

Function at 0x40e2a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x40e307
cmp eax, 1
je 0x40e307
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x40e3a1
cmp ecx, 0x2200
ja 0x40e3a1
push eax
push ecx
call fcn.0043f900
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x40e3a1
cmp ecx, 0x2200
ja 0x40e3a1
test eax, eax
jne 0x40e38e
cmp ecx, 0x1c00
ja 0x40e38e
test eax, eax
jne 0x40e37b
cmp ecx, 0xe00
ja 0x40e37b
test eax, eax
jne 0x40e368
cmp ecx, 0xa00
ja 0x40e368
mov eax, 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
mov eax, 0x400
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
mov eax, 0x800
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
mov eax, 0xc00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1000
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret

Function at 0x40e670
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 0x14], 8
mov edi, edx
mov ebx, ecx
jb 0x40e692
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
mov esi, eax
add esp, 4
cmp esi, 0x100
jb 0x40e707
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x2000
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, 0x2000
lea eax, [ebp - 0x50]
mov dword [ebp - 0xc], ecx
cmovle eax, edx
cmp esi, dword [eax]
ja 0x40e707
mov ecx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
push str.advancedSettings.memorySize
mov dword [ebp - 0xc], esi
call fcn.0040c7f0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
push 0x10
push str.parameter_error_
mov ecx, edi
call fcn.004043b0
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004423d0
mov esp, ebp
pop ebp
ret
Function at 0x411d00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 6
cmp ebx, eax
jge 0x411ee7
mov esi, dword [ebp + 0x18]
mov edx, ebx
shl edx, 6
mov dword [ebp + 0xc], edx
lea esp, [esp]
push dword [edx + edi]
mov ecx, esi
call fcn.004337c0
test al, al
je 0x411d4b
mov ecx, dword [ebp + 0xc]
mov dword [ecx + edi + 0x3c], 3
jmp 0x411d67
mov eax, dword [ebp + 0xc]
mov ecx, esi
push dword [eax + edi]
call fcn.00433860
mov ecx, dword [ebp + 0xc]
test al, al
je 0x411d67
mov dword [ecx + edi + 0x3c], 4
cmp byte [ebp + 0x10], 0
mov eax, dword [ecx + edi]
mov esi, eax
je 0x411d7a
or esi, 0x1000000
jmp 0x411d88
cmp byte [ebp + 0x14], 0
je 0x411d88
mov esi, eax
or esi, 0x5000000
push eax
lea eax, [ebp - 0x1c]
mov dword [ecx + edi + 0x3c], 0
mov ecx, dword [ebp + 0x18]
push eax
call fcn.00432ee0
cmp dword [eax + 0x14], 8
jb 0x411da5
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x411dc2
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
cmp eax, 5
jne 0x411dec
mov dword [edx + edi + 0x3c], 1
mov ecx, dword [edx + edi + 0x1c]
test ecx, ecx
je 0x411ec5
lea eax, [edx + 0x20]
add eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp + 0xc]
push str.TheRender
push str.RenderWindow
push 0
push dword [eax + edi + 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edx, dword [ebp + 0xc]
mov dword [edx + edi + 0x24], eax
test eax, eax
je 0x411ec5
push 0x44cf64
push str.subWin
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edx, dword [ebp + 0xc]
mov ecx, eax
cmp dword [edx + edi + 0x24], 0
mov dword [edx + edi + 0x28], ecx
je 0x411ec5
lea eax, [edx + 0x2c]
add eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi + 0x3c], 1
je 0x411ec5
push dword [edx + edi]
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.00432ee0
cmp dword [eax + 0x14], 8
jb 0x411e7e
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [ebp - 8], 8
jb 0x411e9b
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, 5
setne cl
inc ecx
mov dword [edx + edi + 0x3c], ecx
mov eax, dword [ebp + 8]
inc ebx
mov dword [edx + edi], esi
add edx, 0x40
mov esi, dword [ebp + 0x18]
mov dword [ebp + 0xc], edx
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 6
cmp ebx, eax
jl 0x411d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444db8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x416cf7
cmp byte [edi + 0x45], 0
je 0x416cf7
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x416bd0
xor al, al
jmp 0x416cf9
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.0041baa0
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x416c2f
dec eax
je 0x416c33
sub eax, 2
je 0x416cdd
xor bl, bl
jmp 0x416cdf
mov byte [edi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub esi, eax
je 0x416c6b
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x416c28
cmp byte [edi + 0x45], 0
je 0x416cdd
test esi, esi
jne 0x416be4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x416cd2
lea esi, [ecx + 8]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00404320
test al, al
je 0x416be4
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
cmovae ecx, dword [esp + 0x18]
movq qword [ecx + eax], xmm0
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], esi
cmovae eax, dword [esp + 0x18]
mov byte [eax + esi], 0
jmp 0x416be4
push str.string_too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x416cf3
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x416cf9
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
Function at 0x41fac0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4455ea
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
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 + 0x10], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x44], 0xf
mov dword [esi + 0x40], eax
mov byte [esi + 0x30], al
sub esp, 8
mov byte [ebp - 4], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.00420130
mov dword [esi + 0x48], eax
lea eax, [esi + 0x50]
mov byte [ebp - 4], 3
push 2
push eax
call dword [sym.imp.MSVCP120.dll__Mtx_init]
add esp, 8
test eax, eax
je 0x41fb4e
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
lea eax, [esi + 0x54]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.MSVCP120.dll__Cnd_init]
add esp, 4
test eax, eax
je 0x41fb6d
push eax
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [esi + 0x58], 0
mov byte [esi + 0x5c], 0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x64]
mov word [esi + 0x60], 0
call fcn.004220f0
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421300
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44583b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [section..data]
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 ebx, ecx
call fcn.00420da0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x421359
cmp eax, 0x6f
jne 0x421388
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x421388
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x4213a6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
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.004423d0
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x4213c0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x4213dc
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x4214eb
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x44f3bc
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x421481
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421472
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004043b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00421520
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x42150e
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x4214eb
push dword [ebp - 0x24c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x4213c0
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x42138a
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x421550
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x42169a
test edx, edx
jle 0x42169a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.004216b0
lea ecx, [ebp - 0x94]
call fcn.00421780
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00421850
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4215f8
mov eax, dword [esi]
jmp 0x4215fa
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x421647
cmp ecx, 0x10
jb 0x42160a
mov edx, dword [esi]
jmp 0x42160c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x421647
cmp ecx, 0x10
jb 0x421621
mov ecx, dword [esi]
jmp 0x421623
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00403e50
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x421658
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00404770
cmp dword [esi + 0x14], 0x10
jb 0x421662
mov eax, dword [esi]
jmp 0x421664
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x421682
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004423d0
mov esp, ebp
pop ebp
ret
Function at 0x425090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445a78
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403e40
push eax
mov ecx, dword [ebp + 8]
call fcn.00403e40
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push str.utility::process::create
call fcn.00421fb0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x44fd44
lea ecx, [ebp - 0x58]
call fcn.0040ca90
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x44fd40
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.00406720
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403e10
mov ecx, dword [ebp + 0xc]
call fcn.00405580
movzx eax, al
test eax, eax
jne 0x425174
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 0x44fd48
lea ecx, [ebp - 0x40]
call fcn.0040ca90
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404010
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403e10
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea ecx, [ebp - 0xc4]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4251d4
mov dword [ebp - 0x5c], 5
jmp 0x4251db
mov dword [ebp - 0x5c], 0
mov ax, word [ebp - 0x5c]
mov word [ebp - 0x98], ax
xor ecx, ecx
mov word [ebp - 0x96], cx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor edx, edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xc8]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403e40
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x425270
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x44fd68
push 0x100
push 0x44fd4c
call fcn.00421fb0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403e10
mov eax, dword [ebp - 0x60]
jmp 0x4252a6
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x425288
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403e10
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004423d0
mov esp, ebp
pop ebp
ret