joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43903b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push str.open
lea esi, [ebp - 0x14]
mov edi, eax
call fcn.00416bfe
xor ebx, ebx
push 0x3c
xor esi, esi
lea eax, [ebp - 0x50]
push ebx
inc esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
call fcn.00449660
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x4390ad
cmp dword [edi + 0xc], esi
ja 0x43907d
lea esi, [edi + 0x18]
jmp 0x439083
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
call fcn.004184a9
cmp word [eax], 0
je 0x4390ad
cmp dword [edi + 0xc], 1
ja 0x439099
lea esi, [edi + 0x18]
jmp 0x43909f
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
call fcn.004184a9
push eax
call fcn.00416034
pop ecx
mov ebx, eax
cmp dword [ebp + 0x10], 3
jb 0x4390d3
cmp dword [edi + 0xc], 2
ja 0x4390be
lea esi, [edi + 0x18]
jmp 0x4390c4
mov eax, dword [edi + 8]
mov esi, dword [eax + 8]
call fcn.004184a9
push eax
call fcn.00416034
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 4
jb 0x439115
cmp dword [edi + 0xc], 3
ja 0x4390e4
lea esi, [edi + 0x18]
jmp 0x4390ea
mov eax, dword [edi + 8]
mov esi, dword [eax + 0xc]
call fcn.004184a9
cmp word [eax], 0
je 0x439115
cmp dword [edi + 0xc], 3
ja 0x439100
lea esi, [edi + 0x18]
jmp 0x439106
mov eax, dword [edi + 8]
mov esi, dword [eax + 0xc]
call fcn.004184a9
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00416d00
cmp dword [ebp + 0x10], 5
jb 0x439137
cmp dword [edi + 0xc], 4
ja 0x439126
lea eax, [edi + 0x18]
jmp 0x43912c
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x10]
call fcn.0041858e
movzx eax, ax
mov dword [ebp - 8], eax
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00449660
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp dword [edi + 0xc], 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x44], eax
ja 0x439168
lea esi, [edi + 0x18]
jmp 0x43916d
mov eax, dword [edi + 8]
mov esi, dword [eax]
call fcn.004184a9
mov edi, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test ebx, ebx
mov esi, eax
je 0x43919b
push ebx
call fcn.00449078
pop ecx
test edi, edi
je 0x4391a6
push edi
call fcn.00449078
pop ecx
test esi, esi
jne 0x4391ef
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x294], 1
jne 0x4391cb
push 0xffffffffffffffff
call fcn.0041fe6d
push eax
push 0x87
call fcn.0041fcd4
inc esi
jmp 0x4391e3
xor ecx, ecx
push 0
inc ecx
mov eax, ebx
call fcn.0042159c
mov esi, dword [ebp + 0x14]
push 0
call fcn.00418a14
xor esi, esi
push dword [ebp - 0x14]
call fcn.00449078
mov eax, esi
jmp 0x439226
cmp byte [ebp + 0xc], 0
je 0x439203
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x810], eax
jmp 0x43921c
mov esi, dword [ebp + 0x14]
push 1
call fcn.00418a14
cmp dword [ebp - 0x18], 0
je 0x43921c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call fcn.00449078
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x43c147
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
mov edi, 0x103
jmp 0x43c1fc
xor eax, eax
cmp byte [0x479bc8], bl
je 0x43c190
mov eax, 0x100
lea ecx, [ebp - 0xc]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c204
push dword [ebp - 0xc]
call fcn.0043c147
pop ecx
push dword [ebp - 0xc]
mov byte [ebp - 1], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], bl
je 0x43c204
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x43c204
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
cmp eax, edi
jne 0x43c181
mov al, 1
jmp 0x43c206
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43cb9b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x43cc23
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x43cc23
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
xor ebx, ebx
push ebx
push ebx
push edi
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
je 0x43cbf7
cmp dword [ebp + 0x10], ebx
jbe 0x43cbf7
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43cbef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
jmp 0x43cc25
push ebx
push ebx
push dword [ebp - 4]
push edi
call esi
cmp dword [ebp + 0x18], ebx
je 0x43cc17
push 2
push ebx
push ebx
push edi
call esi
push ebx
push ebx
push dword [ebp - 4]
mov edi, eax
push dword [ebp + 8]
call esi
sub edi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x43cc2d
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x441922
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x477a30], eax
push edi
mov edx, esi
mov eax, 0x477a30
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4783ec
jl 0x441933
pop edi
mov dword [0x4672d0], esi
mov dword [0x47840c], esi
pop esi
ret

Function at 0x441961
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x47840c], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x477a30
jne 0x441981
push 0
call fcn.0044b9d2
pop ecx
call fcn.00441922
mov dword [0x4672d0], 0x270
mov dword [0x477a28], esi
mov edx, 0xe3
mov ecx, bind
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x4419a0
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x4419d6
mov edx, dword [0x477a30]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x441a30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4672d0]
jne 0x441a3d
call fcn.00441961
mov eax, dword [0x477a28]
mov ecx, dword [eax]
add dword [0x477a28], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x441a74
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4672d0]
jne 0x441a86
call fcn.00441961
mov eax, dword [0x477a28]
mov eax, dword [eax]
add dword [0x477a28], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
jge 0x441acc
fadd qword [0x462788]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x462778]
leave
ret

Function at 0x442146
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00449660
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x442abd
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
push edi
xor edi, edi
inc edi
mov dword [eax], ecx
mov esi, edi
mov ecx, eax
mov edx, dword [ecx]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, esi
mov dword [ecx + 4], ebx
inc esi
add ecx, 4
cmp esi, 0x270
jl 0x442ac9
mov dword [eax + 0x9c0], edi
mov dword [eax + 0x9c4], edi
pop edi
pop esi
pop ebx
ret
Function at 0x442af9
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebx, eax
cmp dword [ebx + 0x9c4], 0
push esi
push edi
mov esi, ebx
jne 0x442b1d
push 0
call fcn.0044b9d2
pop ecx
mov ecx, eax
mov eax, ebx
call fcn.00442abd
mov dword [ebx + 0x9c0], 0x270
mov dword [ebx + 0x9c8], ebx
mov dword [esp + 0x10], 0xe3
mov ecx, bind
mov eax, 0x9908b0df
mov edx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor edx, ebp
and edx, ecx
xor edx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, ebp
and cl, 1
shr edx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor edx, ecx
xor edx, dword [esi + 0x634]
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov esi, edi
jne 0x442b3f
mov dword [esp + 0x10], 0x18c
mov edx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor edx, ebp
and edx, ecx
xor edx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, ebp
and cl, 1
shr edx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor edx, ecx
xor edx, dword [esi - 0x38c]
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov esi, edi
jne 0x442b7b
mov ebx, dword [ebx]
mov edx, dword [esi]
xor edx, ebx
and edx, ecx
xor edx, dword [esi]
and bl, 1
shr edx, 1
neg bl
pop edi
sbb ebx, ebx
and ebx, eax
xor edx, ebx
xor edx, dword [esi - 0x38c]
mov dword [esi], edx
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x442bd5
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [esi + 0x9c0]
jne 0x442be4
mov eax, esi
call fcn.00442af9
lea eax, [esi + 0x9c8]
mov edx, dword [eax]
mov ecx, dword [edx]
add edx, 4
mov dword [eax], edx
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x442e08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9cc
push ebx
xor ebx, ebx
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
call fcn.00442abd
cmp dword [ebp + 0xc], ebx
jbe 0x442e4b
push esi
push edi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x9cc]
lea edi, [ebx + eax]
call fcn.00442bd5
xor byte [edi], al
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x442e30
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44aec1
Capabilities:
Terminate process

Disassembly:
push 8
push 0x45b120
call fcn.0044d788
push 8
call fcn.0044c6db
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x46740c], esi
jne 0x44aef5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x467408], esi
mov al, byte [ebp + 0x10]
mov byte [0x467404], al
cmp dword [ebp + 0xc], edi
jne 0x44af3f
cmp dword [0x481bac], edi
je 0x44af2f
mov eax, dword [0x481ba8]
sub eax, 4
mov dword [0x481ba8], eax
cmp eax, dword [0x481bac]
jb 0x44af2f
mov eax, dword [eax]
cmp eax, edi
je 0x44af10
call eax
jmp 0x44af10
push 0x465050
mov eax, 0x465048
call fcn.0044ae3f
pop ecx
push 0x465058
mov eax, 0x465054
call fcn.0044ae3f
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x44af70
cmp dword [ebp + 0x10], edi
jne 0x44af7e
mov dword [0x46740c], esi
push dword [ebp + 8]
call fcn.0044adfd
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x44af7d
push 8
call fcn.0044c626
pop ecx
ret
call fcn.0044d7c3
ret

Function at 0x44b08a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x44b0a7
call fcn.0044d915
mov dword [eax], 0x16
xor eax, eax
jmp 0x44b111
push esi
push 0x8c
push 1
call fcn.004504cf
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44b0fc
push esi
call fcn.0044c29f
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x44b0da
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x44aff5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x44b110
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00449c88
test ebx, ebx
pop ecx
je 0x44b10e
push ebx
call fcn.0044d927
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x44b73e
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x44b75a
call fcn.0044d915
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x44b7cc
push esi
push 0x8c
push 1
call fcn.004504cf
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44b7b2
push esi
call fcn.0044c29f
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x44b6ac
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x44b7aa
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x44b7c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00449c88
test ebx, ebx
pop ecx
je 0x44b7c4
push ebx
call fcn.0044d927
pop ecx
or eax, 0xffffffff
jmp 0x44b7cb
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x44be98
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x45b1b8
call fcn.0044d788
mov edi, 0x94
mov eax, edi
call fcn.0044c070
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 [0x4673cc], ecx
mov eax, dword [esi + 4]
mov dword [0x4673d8], eax
mov edx, dword [esi + 8]
mov dword [0x4673dc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4673d0], esi
cmp ecx, 2
je 0x44bef8
or esi, 0x8000
mov dword [0x4673d0], esi
shl eax, 8
add eax, edx
mov dword [0x4673d4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x44bf33
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44bf33
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44bf4b
cmp eax, 0x20b
je 0x44bf38
mov dword [ebp - 0x1c], esi
jmp 0x44bf5f
cmp dword [ecx + 0x84], 0xe
jbe 0x44bf33
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x44bf59
cmp dword [ecx + 0x74], 0xe
jbe 0x44bf33
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044e07d
pop ecx
test eax, eax
jne 0x44bf73
push 0x1c
call fcn.0044be74
pop ecx
call fcn.0044c499
test eax, eax
jne 0x44bf84
push 0x10
call fcn.0044be74
pop ecx
call fcn.004502e3
mov dword [ebp - 4], esi
call fcn.004505a6
test eax, eax
jge 0x44bf9d
push 0x1b
call fcn.0044be4f
pop ecx
call fcn.004536f2
mov dword [0x480b84], eax
call fcn.00453588
mov dword [0x467418], eax
call fcn.004534f2
test eax, eax
jge 0x44bfc2
push 8
call fcn.0044be4f
pop ecx
call fcn.004532bf
test eax, eax
jge 0x44bfd3
push 9
call fcn.0044be4f
pop ecx
push 1
call fcn.0044ae57
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x44bfe9
push eax
call fcn.0044be4f
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.00453279
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x44c00a
movzx eax, word [ebp - 0x40]
jmp 0x44c00d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00401852
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x44c02b
push edi
call fcn.0044af84
call fcn.0044afa6
jmp 0x44c05d
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0044d7c3
ret
Function at 0x44d99a
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.0044c070
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44da35
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 [0x4673cc]
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 0x44da35
cmp eax, 1
je 0x44da56
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 0x44da35
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44da02
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44da31
xor eax, eax
inc eax
jmp 0x44da75
cmp edi, eax
jae 0x44da39
xor eax, eax
jmp 0x44da75
cmp eax, esi
jae 0x44da40
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 [0x4673cc]
jmp 0x44da59
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 0x44faf0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x465718]
xor ecx, ecx
xor eax, ebp
cmp dword [ebp + 0x3b4], ecx
push edi
mov edi, dword [ebp + 0x3b0]
mov dword [ebp + 0x3a0], eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], ecx
jne 0x44fb2c
xor eax, eax
jmp 0x44fc96
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3ac]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x480a60]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x44fb6a
push 2
push ecx
push ecx
push dword [ebp + 0x3ac]
call fcn.00455696
add esp, 0x10
xor ecx, ecx
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x44fc04
cmp dword [ebp + 0x3b4], ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], ecx
jbe 0x44fc67
jmp 0x44fb8e
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
cmp ecx, dword [ebp + 0x3b4]
jae 0x44fbc9
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x44fbba
inc dword [ebp - 0x78]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x6c]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], 0x400
jl 0x44fb9a
mov edi, eax
lea eax, [ebp - 0x64]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44fc28
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x44fc31
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x7c]
cmp eax, dword [ebp + 0x3b4]
jb 0x44fb8c
jmp 0x44fc31
push ecx
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b4]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44fc28
mov eax, dword [ebp - 0x80]
and dword [ebp - 0x68], 0
mov dword [ebp - 0x74], eax
jmp 0x44fc31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x44fc91
cmp dword [ebp - 0x68], eax
je 0x44fc64
push 5
pop esi
cmp dword [ebp - 0x68], esi
jne 0x44fc59
call fcn.0044d915
mov dword [eax], 9
call fcn.0044d91e
mov dword [eax], esi
jmp 0x44fc8c
push dword [ebp - 0x68]
call fcn.0044d927
pop ecx
jmp 0x44fc8c
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x44fc79
cmp byte [edi], 0x1a
jne 0x44fc79
xor eax, eax
jmp 0x44fc94
call fcn.0044d915
mov dword [eax], 0x1c
call fcn.0044d91e
and dword [eax], 0
or eax, 0xffffffff
jmp 0x44fc94
sub eax, dword [ebp - 0x78]
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop edi
call fcn.0044c969
add ebp, 0x3a4
leave
ret
Function at 0x44ff81
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 0x450157
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x480a60]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x450157
test cl, 0x48
je 0x44ffec
cmp byte [eax + 5], 0xa
je 0x44ffec
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 0x45003e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x450026
call fcn.0044d915
mov dword [eax], 9
call fcn.0044d91e
mov dword [eax], esi
jmp 0x450036
cmp eax, 0x6d
je 0x450157
push eax
call fcn.0044d927
pop ecx
or eax, 0xffffffff
jmp 0x450159
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x450152
test eax, eax
je 0x450065
cmp byte [ebx], 0xa
jne 0x450065
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x45006e
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 0x45014c
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x45013c
cmp al, 0xd
je 0x4500a0
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x45012e
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4500ba
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4500b5
add dword [ebp + 0x10], 2
jmp 0x45010e
mov dword [ebp + 0x10], eax
jmp 0x45012a
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 0x4500e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45012a
cmp dword [ebp - 0xc], 0
je 0x45012a
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x450103
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x45010e
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x45012d
cmp ebx, dword [ebp + 0xc]
jne 0x450113
cmp byte [ebp - 1], 0xa
jne 0x450113
mov byte [ebx], 0xa
jmp 0x45012d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00455696
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x45012e
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x450084
jmp 0x45014c
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x45014c
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 0x450159
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret