joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498090
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x4c]
cdq
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], edx
cdq
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x68], edx
cdq
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [0x560c90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
push edi
push dword [ebp + 0x10]
mov edi, dword [0x560c94]
mov dword [ebp - 0x60], edx
cdq
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x58], 0
push eax
push 0
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00498820
mov ebx, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
mov dword [ebp - 0x4c], esi
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x30], eax
lea eax, [ebx + 0x20]
cdq
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x48], edi
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x10], esp
and esp, 0xfffffff0
push 0x33
call 0x498170
add dword [esp], 5
retf

Function at 0x498200
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x48]
cdq
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x64], edx
cdq
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [0x560c48]
push edi
push dword [ebp + 0x10]
mov edi, dword [0x560c4c]
mov dword [ebp - 0x5c], edx
cdq
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x54], edx
push eax
push 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.00498820
mov ebx, dword [ebp - 0x48]
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], esi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x24], eax
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x2c], edi
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x10], esp
and esp, 0xfffffff0
push 0x33
call 0x4982c8
add dword [esp], 5
retf
Function at 0x498350
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], edx
cdq
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
push ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x2c]
push esi
mov esi, dword [0x560c70]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x30]
push edi
push dword [ebp + 0x10]
mov edi, dword [0x560c74]
mov dword [ebp - 0x78], edx
cdq
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x88], 0
push eax
push 0
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x60], edx
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], 0x1000
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x100000
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.00498820
mov ebx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x24], 0
mov dword [ebp - 0x14], esi
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x20]
cdq
movlpd qword [ebp + 0x28], xmm0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], edi
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x10], esp
and esp, 0xfffffff0
push 0x33
call 0x498481
add dword [esp], 5
retf
Function at 0x498510
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x50]
cdq
push ebx
push esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], edx
push eax
push 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.00498820
mov ebx, dword [ebp - 0x50]
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
movlpd qword [ebp - 8], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x10], esp
and esp, 0xfffffff0
push 0x33
call 0x4985ad
add dword [esp], 5
retf

Function at 0x498640
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x4c]
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [0x560c78]
mov dword [ebp - 0x70], edx
cdq
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
push edi
push dword [ebp + 0x10]
mov edi, dword [0x560c7c]
mov dword [ebp - 0x60], edx
cdq
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x74]
movlpd qword [ebp - 0x6c], xmm0
push eax
push 0
mov dword [ebp - 0x5c], 0x30
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00498820
mov ebx, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
mov dword [ebp - 0x4c], esi
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x30], eax
lea eax, [ebx + 0x20]
cdq
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x48], edi
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x10], esp
and esp, 0xfffffff0
push 0x33
call 0x49871f
add dword [esp], 5
retf
Function at 0x499890
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov esi, dword [ecx + 4]
mov edi, eax
mov ecx, dword [ecx]
mov eax, esi
sub eax, ecx
mov dword [ebp - 8], ecx
sub edi, edx
mov dword [ebp + 0xc], eax
mov ebx, edx
mov dword [ebp + 0x10], ebx
cmp eax, edi
jg 0x499989
sub edx, ecx
lea esp, [esp]
mov eax, ecx
cmp eax, esi
je 0x4998f9
mov cl, byte [eax]
cmp byte [edx + eax], cl
je 0x4998e2
cmp cl, 0xcc
jne 0x4998e5
inc eax
jmp 0x4998d2
inc ebx
dec edi
inc edx
mov dword [ebp + 0x10], ebx
cmp dword [ebp + 0xc], edi
jg 0x499989
mov ecx, dword [ebp - 8]
jmp 0x4998d0
cmp ebx, dword [ebp - 4]
jae 0x499989
mov eax, ebx
cdq
mov ecx, edx
mov ebx, eax
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov edi, dword [edx + 4]
mov esi, dword [edx + 8]
cmp edi, esi
jne 0x499966
mov ecx, esi
sub ecx, edi
sar ecx, 3
cmp ecx, 1
jae 0x499963
mov ecx, dword [edx]
mov eax, 0x1fffffff
sub edi, ecx
sar edi, 3
sub eax, edi
cmp eax, 1
jb 0x49999d
sub esi, ecx
mov eax, 0x1fffffff
sar esi, 3
inc edi
mov ecx, esi
shr ecx, 1
sub eax, ecx
cmp eax, esi
jae 0x499951
xor esi, esi
jmp 0x499953
add esi, ecx
cmp esi, edi
mov ecx, edx
cmovb esi, edi
push esi
call fcn.00487190
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
test eax, eax
je 0x499972
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
add dword [edx + 4], 8
mov eax, dword [ebp - 4]
mov edx, dword [ecx + 4]
sub edx, dword [ecx]
add edx, dword [ebp + 0x10]
jmp 0x4998a7
mov ecx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 3
mov esp, ebp
pop ebp
ret 0x18
push str.vector_T__too_long
call fcn.0049f945
int3
Function at 0x49dae0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20d4
call fcn.004ea940
push ebx
push esi
push edi
push 0x1830
xorps xmm0, xmm0
lea eax, [ebp - 0x20c8]
push 0
push eax
mov ebx, ecx
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 0x20d0], xmm0
call fcn.004d36e0
add esp, 0xc
mov byte [ebp - 0x498], 0
lea eax, [ebp - 0x497]
push 0x387
push 0
push eax
call fcn.004d36e0
add esp, 0xc
mov dword [ebp - 0x110], 0
lea eax, [ebp - 0x10c]
push 0x54
push 0
push eax
call fcn.004d36e0
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 8], xmm0
push 0x33
call 0x49db61
add dword [esp], 5
retf

Function at 0x49df20
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x64], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
cdq
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
push edi
push dword [ebp + 0x18]
mov dword [ebp - 0x58], edx
cdq
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
movlpd qword [ebp - 0x54], xmm0
push eax
push 0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call fcn.00498820
mov ebx, dword [ebp - 0x44]
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x34], xmm0
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
movlpd qword [ebp + 0x10], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x18], esp
and esp, 0xfffffff0
push 0x33
call 0x49dfdf
add dword [esp], 5
retf

Function at 0x49e070
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x560b2c], 0
jne 0x49e0c8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x560b24], eax
mov eax, dword [ebp - 8]
mov dword [0x560b28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x560b2c], eax
mov eax, 0x560b24
mov esp, ebp
pop ebp
ret
Function at 0x49e0e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x560b2c]
sub esp, 0x24
push esi
mov esi, ecx
push edi
mov edi, edx
test eax, eax
jne 0x49e13e
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x560b24], eax
mov eax, dword [ebp - 8]
mov dword [0x560b28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x560b2c], eax
push 0x8000
push 0
test esi, esi
push edi
cmove esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
neg eax
pop edi
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x49e170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, ecx
push edi
mov edi, edx
mov dword [ebp - 0x14], eax
mov esi, dword [eax]
test edi, edi
je 0x49e287
call fcn.0049e070
test esi, esi
jne 0x49e196
mov esi, dword [eax + 8]
mov eax, dword [eax]
lea ebx, [edi - 1]
add ebx, eax
dec eax
push 0x40
not eax
push 0x3000
and ebx, eax
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 4], eax
test eax, eax
je 0x49e287
xor edx, edx
mov eax, ebx
div dword [ebp + 8]
push 0x34
mov dword [ebp - 8], eax
lea edi, [eax + 7]
shr edi, 3
add edi, 3
and edi, 0xfffffffc
mov dword [ebp - 0x10], edi
call fcn.004cfcd9
mov esi, eax
lea eax, [edi + edi]
push eax
mov dword [ebp - 0xc], eax
call fcn.004cfcd9
add esp, 8
mov edi, eax
test esi, esi
je 0x49e25c
test edi, edi
je 0x49e25c
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 8]
push 0
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], edx
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
call fcn.004d36e0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
call fcn.0049e0e0
add esp, 4
test esi, esi
je 0x49e27a
push esi
call fcn.004ce301
add esp, 4
test edi, edi
je 0x49e287
push edi
call fcn.004ce301
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e760
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea esi, [ecx + 4]
mov dword [ebp - 4], ecx
lea ebx, [edx + 0x1f]
push esi
and ebx, 0xffffffe0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 4]
mov edi, dword [ecx + 0x40]
test edi, edi
je 0x49e79a
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
cmp ebx, eax
jbe 0x49e841
mov edi, dword [edi]
test edi, edi
jne 0x49e786
mov eax, 0x8000
cmp ebx, eax
push 0x10
cmova eax, ebx
mov dword [ebp - 0xc], eax
call fcn.004cfcd9
mov edi, eax
add esp, 4
test edi, edi
je 0x49e820
cmp dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
jne 0x49e7c9
xor eax, eax
jmp 0x49e810
call fcn.0049e070
mov edx, dword [ebp - 8]
mov ecx, eax
test edx, edx
jne 0x49e7dc
mov eax, dword [ecx + 8]
mov edx, eax
mov eax, dword [ecx]
mov ecx, dword [ebp - 0xc]
dec ecx
add ecx, eax
dec eax
push 0x40
not eax
push 0x3000
and ecx, eax
push ecx
push 0
push edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
je 0x49e80d
lea ecx, [edi + 8]
test ecx, ecx
je 0x49e80d
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
test eax, eax
jne 0x49e832
push edi
call fcn.004ce301
add esp, 4
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0xc], 0
mov eax, dword [ecx + 0x40]
mov dword [edi], eax
mov dword [ecx + 0x40], edi
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
add edx, eax
add eax, ebx
mov dword [edi + 0xc], eax
mov edi, edx
add dword [ecx + 0x2c], ebx
push esi
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49eb60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
mov al, dl
push esi
mov byte [ebp - 1], al
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x49ec1c
push edi
jmp 0x49eb80
mov edi, dword [esi + 0x14]
mov dword [ebp - 0xc], edi
test al, al
jne 0x49ebfd
mov eax, dword [esi + 8]
mov edi, dword [ebx]
mov dword [ebp - 8], eax
mov eax, dword [0x560b2c]
test eax, eax
jne 0x49ebe4
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x2c]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x560b24], eax
mov eax, dword [ebp - 0x14]
mov dword [0x560b28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x560b2c], eax
push 0x8000
push 0
push dword [ebp - 8]
test edi, edi
cmove edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edi, dword [ebp - 0xc]
push dword [esi + 0x2c]
call fcn.004ce301
push esi
call fcn.004ce301
mov al, byte [ebp - 1]
add esp, 8
mov esi, edi
test edi, edi
jne 0x49eb80
pop edi
pop esi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49ec50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x560b2c]
sub esp, 0x24
push esi
mov esi, ecx
test eax, eax
jne 0x49ecab
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x560b24], eax
mov eax, dword [ebp - 8]
mov dword [0x560b28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x560b2c], eax
mov dword [esi], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [0x560b2c], 0
jne 0x49ed09
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x560b24], eax
mov eax, dword [ebp - 8]
mov dword [0x560b28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x560b2c], eax
mov eax, dword [0x560b28]
mov dword [esi + 0x1c], eax
mov eax, esi
mov dword [esi + 0x20], 0x40
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x24], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4aab40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0xffffffff
je 0x4aab63
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
jne 0x4aab68
or eax, 0xffffffff
jmp 0x4aabda
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x4aab86
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4aabc0
mov eax, dword [ebp - 4]
add eax, 0x50
push eax
call fcn.004b4100
add esp, 4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0x70]
adc edx, dword [eax + 0x74]
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4aabe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0xffffffff
je 0x4aac03
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 2
jne 0x4aac0b
or eax, 0xffffffff
jmp 0x4aacc1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 8
je 0x4aac6d
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 2
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4aac5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4aac5e
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.004b4100
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x70], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x74], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4aaca7
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.004b4100
add esp, 4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x70]
adc ecx, dword [edx + 0x74]
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov dword [edx + 0x74], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc