joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482000
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5197ba
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.Json::StreamWriter.0
mov dword [esi + 4], 0
mov dword [esp + 0x14], 0
mov dword [esi], vtable.Json::BuiltStyledStreamWriter.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esp + 0x14], 1
mov dword [esi + 0x28], 0xf
mov dword [esi + 0x24], 0
mov byte [esi + 0x14], 0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x30]
push 0xffffffffffffffff
mov dword [esi + 0x2c], 0x4a
push 0
push dword [esp + 0x24]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00404980
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x4c]
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
mov dword [esi + 0x48], eax
push 0
push dword [esp + 0x2c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00404980
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x64]
push 0xffffffffffffffff
push 0
push dword [esp + 0x30]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00404980
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x7c]
push 0xffffffffffffffff
push 0
push dword [esp + 0x34]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00404980
mov byte [esp + 0x14], 6
mov al, byte [esi + 0x94]
mov ecx, dword [esp + 0x30]
and al, 0xf8
and cl, 1
shl cl, 2
or cl, al
mov eax, dword [esp + 0x34]
mov byte [esi + 0x94], cl
mov dword [esi + 0x98], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c

Function at 0x485740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x519f69
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x48577c
xor esi, esi
jmp 0x48578a
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x485781
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00485d10
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.00432ea0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x48bc10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51b39c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x48bc84
push 0x10
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x48bc77
push 0x487750
push 0x487740
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.00507136
jmp 0x48bc79
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x48bc98
cmp byte [ecx + eax - 1], 0xa
jne 0x48bc98
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.00487760
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x494f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51c950
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x64]
xor edi, edi
cmp byte [esi + 0x6c], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
movzx eax, al
cmove eax, edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
lea edi, [esi + 0x54]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
mov byte [esi + 0x78], al
mov dword [esi + 0x48], ecx
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ebp
mov dword [edi + 0x10], 0
jb 0x494f82
mov eax, dword [edi]
jmp 0x494f84
mov eax, edi
lea ecx, [esi + 0x14]
mov byte [eax], 0
call fcn.0049bf10
cmp dword [esi + 0x10], 0
je 0x494fa5
mov eax, dword [esi + 0x10]
dec eax
jne 0x494f9e
mov dword [esi + 0xc], eax
test eax, eax
jne 0x494f98
mov dword [esi + 0x10], eax
lea eax, [esp + 0x40]
mov ecx, esi
push eax
call fcn.0049b770
mov ecx, esi
call fcn.004950d0
mov bl, al
mov ecx, esi
lea eax, [esp + 0x2c]
push eax
call fcn.004955a0
cmp byte [esi + 0x71], 0
je 0x49503d
cmp byte [esi + 0x6d], 0
mov ecx, dword [esp + 0x2c]
jne 0x494fdb
cmp ecx, 0x10
je 0x49503d
test ecx, ecx
je 0x49503d
push str.Extra_non_whitespace_after_JSON_value.
lea ecx, [esp + 0x18]
call fcn.00404760
mov dword [esp + 0x50], 0
push 0
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00497f40
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x495024
push dword [esp + 0x14]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x28], 0xf
xor al, al
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jmp 0x4950a5
cmp byte [esi + 0x78], 0
je 0x49505f
cmp dword [esi + 0x64], 0
je 0x49505f
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x495054
mov edi, dword [edi]
push 2
push eax
push edi
mov ecx, ebp
call fcn.0048bc10
cmp byte [esi + 0x6d], 0
je 0x4950a3
mov al, byte [ebp + 8]
cmp al, 6
je 0x4950a3
cmp al, 7
je 0x4950a3
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push str.A_valid_JSON_document_must_be_either_an_array_or_an_object_value.
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x38], eax
call fcn.00404760
mov dword [esp + 0x50], 1
jmp 0x494ff5
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00505b1e
add esp, 0x40
ret 0x10
Function at 0x4aafb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, edx
mov dword [ebp - 0x10], eax
movsx eax, al
push esi
push edi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x30], xmm0
test ecx, ecx
je 0x4ab0dd
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4ab0dd
mov esi, dword [ebx + 0x10]
test esi, esi
jle 0x4ab0dd
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4ab0dd
cmp dword [ebx + 0x18], 0
je 0x4ab0dd
cmp dword [eax], 0
jne 0x4ab0dd
lea eax, [esi + 0x50]
mov dword [ebp - 0x14], eax
push eax
mov eax, dword [ecx + 8]
call eax
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4ab0dd
xor eax, eax
cmp esi, 0x20
jb 0x4ab0a5
lea edx, [ecx + 0x50]
add ecx, 0x4f
add ecx, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
lea ecx, [edi - 1]
add ecx, esi
cmp edx, ecx
ja 0x4ab064
cmp dword [ebp - 8], edi
jae 0x4ab0a5
mov ecx, esi
and ecx, 0x8000001f
jns 0x4ab073
dec ecx
or ecx, 0xffffffe0
inc ecx
movdqa xmm1, xmmword [ebp - 0x30]
mov edx, esi
sub edx, ecx
mov ecx, dword [ebp - 0xc]
nop
movdqu xmm0, xmmword [edi + eax]
pxor xmm0, xmm1
movdqu xmmword [ecx + eax], xmm0
movdqu xmm0, xmmword [edi + eax + 0x10]
pxor xmm0, xmm1
movdqu xmmword [ecx + eax + 0x10], xmm0
add eax, 0x20
cmp eax, edx
jl 0x4ab080
cmp eax, esi
jge 0x4ab0c2
mov edx, dword [ebp - 0x10]
lea esp, [esp]
mov cl, byte [eax + edi]
mov esi, dword [ebp - 4]
xor cl, dl
mov byte [esi + eax + 0x50], cl
inc eax
cmp eax, dword [ebx + 0x10]
jl 0x4ab0b0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4ab0f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, edx
mov dword [ebp - 0x10], eax
movsx eax, al
push esi
push edi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movdqa xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4ab229
mov edi, dword [ebx + 8]
test edi, edi
je 0x4ab229
mov esi, dword [ebx + 0xc]
test esi, esi
jle 0x4ab229
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4ab229
cmp dword [ebx + 0x14], 0
je 0x4ab229
cmp dword [eax], 0
jne 0x4ab229
mov eax, dword [ecx + 8]
push esi
call eax
mov ecx, eax
add esp, 4
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x4ab229
xor edx, edx
cmp esi, 0x20
jb 0x4ab1eb
lea eax, [edi - 1]
add eax, esi
cmp ecx, eax
ja 0x4ab194
lea eax, [esi - 1]
add eax, ecx
cmp eax, edi
jae 0x4ab1eb
mov eax, esi
and eax, 0x8000001f
jns 0x4ab1a2
dec eax
or eax, 0xffffffe0
inc eax
movdqa xmm1, xmmword [ebp - 0x20]
mov dword [ebp - 4], esi
mov esi, ecx
sub dword [ebp - 4], eax
sub esi, edi
mov dword [ebp - 0xc], esi
mov eax, edi
mov esi, dword [ebx + 0xc]
mov edi, dword [ebp - 0xc]
lea esp, [esp]
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
pxor xmm0, xmm1
movdqu xmmword [edi + eax - 0x20], xmm0
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm0, xmm1
movdqu xmmword [ecx + edx + 0x10], xmm0
add edx, 0x20
cmp edx, dword [ebp - 4]
jl 0x4ab1c0
mov edi, dword [ebx + 8]
cmp edx, esi
jge 0x4ab214
sub edi, dword [ebp - 8]
add ecx, edx
sub esi, edx
mov edx, dword [ebp - 0x10]
lea esp, [esp]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor al, dl
mov byte [ecx - 1], al
dec esi
jne 0x4ab200
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 0x10]
mov dword [eax], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4abe40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x20
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x5698e0], ecx
inc eax
cmp eax, 0x100
jb 0x4abe45
cmp eax, 0x800
jae 0x4abf14
mov edx, dword [eax*4 + 0x5694e0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x5698e0]
mov dword [eax*4 + 0x5698e0], edx
inc eax
cmp eax, 0x800
jb 0x4abef1
lea ecx, [esp]
mov dword [0x569138], 0x507d50
call fcn.004afa30
test eax, eax
je 0x4abfdc
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ecx, ecx
push esi
push edi
mov edi, dword [esp + 0x20]
mov eax, 0x5680c8
mov esi, edi
shr edi, 4
shr esi, 8
and edi, 0xf00f
and esi, 0xff00f
xor edx, edx
jmp 0x4abf60
mov ebx, dword [esp + 0x14]
cmp dword [eax - 8], ebx
mov ebx, dword [esp + 0x1c]
jne 0x4abf76
cmp dword [eax - 4], ebp
jne 0x4abf76
cmp dword [eax], ebx
je 0x4abf85
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x4abf60
or ecx, 0xffffffff
sub ecx, 0
je 0x4abfbf
dec ecx
je 0x4abfae
dec ecx
jne 0x4abfd8
cmp esi, 6
jb 0x4abfd8
jne 0x4abfce
cmp edi, 0xf
jb 0x4abfd8
pop edi
pop esi
pop ebp
mov dword [0x569138], 0x507c70
pop ebx
add esp, 0x20
ret
cmp esi, 5
jb 0x4abfd8
jne 0x4abfce
cmp edi, 6
jb 0x4abfd8
cmp edi, 0xa
jmp 0x4abfcc
cmp esi, 6
jb 0x4abfd8
jne 0x4abfce
cmp edi, 0x100c
je 0x4abfd8
mov dword [0x569138], 0x507c70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4abfe0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x520797
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
push 0x18
mov byte [edi], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x1c], 0
lea esi, [edi + 8]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004aef10
mov dword [esi], eax
mov byte [esp + 0x1c], 3
lea esi, [edi + 0x10]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004aef10
mov dword [esi], eax
mov byte [esp + 0x1c], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], 0
mov word [edi + 0x20], ax
mov byte [esp + 0x1c], 7
lea ecx, [edi + 0x38]
call fcn.004a3470
mov byte [esp + 0x1c], 8
lea eax, [edi + 0xb0]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0x10], eax
mov word [eax], cx
mov byte [esp + 0x1c], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [esp + 0x1c], 0xa
xor eax, eax
mov dword [edi + 0xf4], 7
mov dword [edi + 0xf0], ecx
mov word [edi + 0xe0], ax
mov byte [esp + 0x1c], 0xb
mov dword [edi + 0x10c], 0xf
mov dword [edi + 0x108], eax
mov byte [edi + 0xf8], al
mov byte [esp + 0x1c], 0xc
mov dword [edi + 0x124], 0xf
mov dword [edi + 0x120], eax
mov byte [edi + 0x110], al
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4ac640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x520901
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], 0
lea esi, [ebx + 4]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
test esi, esi
je 0x4ac6a3
mov eax, dword [esi]
test eax, eax
je 0x4ac6a3
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 1
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov word [edi], ax
lea eax, [ebx + 0xe0]
push eax
call fcn.00404c30
mov dword [esp + 0x10], 1
mov byte [esp + 0x28], 0
test esi, esi
je 0x4ac6f5
mov eax, dword [esi]
test eax, eax
je 0x4ac6ed
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00505b1e
add esp, 0x1c
ret 4
Function at 0x4ae900
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x520f68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.004ae750
mov dword [esp + 0x30], 0
cmp dword [esp + 0x1c], 0
je 0x4ae9ab
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ae9ab
test esi, esi
je 0x4ae9ab
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 8
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x4ae9c7
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00505b1e
add esp, 0x2c
ret 8

Function at 0x4aea00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x520f98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x10], xmm0
call fcn.004ae750
mov dword [esp + 0x40], 0
cmp dword [esp + 0x2c], 0
je 0x4aeac2
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
push 0
cmovae eax, dword [esp + 0x20]
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4aeac2
test esi, esi
je 0x4aeac2
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 8
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4aeabb
xorps xmm0, xmm0
movlpd qword [esp + 0xc], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x4aeae6
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
mov edx, edi
mov dword [esp + 0x2c], 0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00505b1e
add esp, 0x38
ret
Function at 0x4b0e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x521528
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
lea esi, [edi + 0x58]
mov dword [esp + 0xc], 0x402
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
test esi, esi
je 0x4b0ed2
mov eax, dword [esi]
test eax, eax
je 0x4b0ed2
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x5c]
call fcn.004b29f0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4b0ef5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x4b0f16
mov eax, dword [esi]
test eax, eax
je 0x4b0f0e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00505b1e
add esp, 0x20
ret 4

Function at 0x4b1370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x521618
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
lea esi, [edi + 0x58]
mov dword [esp + 0xc], 0x400
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
test esi, esi
je 0x4b13d2
mov eax, dword [esi]
test eax, eax
je 0x4b13d2
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x5c]
call fcn.004b29f0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4b13f5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x4b1416
mov eax, dword [esi]
test eax, eax
je 0x4b140e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00505b1e
add esp, 0x20
ret 4
Function at 0x4b1610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x521698
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea ebx, [esi + 0xc]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4b1665
mov eax, dword [ebx]
test eax, eax
je 0x4b1665
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
push esi
lea ecx, [esp + 0x20]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
call fcn.004b2750
mov byte [esp + 0x38], 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x4b16a6
mov eax, dword [ebx]
test eax, eax
je 0x4b16a0
push eax
call esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov edi, eax
cmp eax, dword [esp + 0x20]
je 0x4b1784
mov ebx, dword [esp + 0x10]
lea ebx, [ebx]
lea esi, [ebx + 0xc]
mov dword [esp + 0x18], esi
test esi, esi
je 0x4b16d8
mov eax, dword [esi]
test eax, eax
je 0x4b16d8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x38], 2
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x4b174b
mov edx, dword [eax]
mov dword [esp + 0x10], edx
test edx, edx
je 0x4b16f4
cmp edx, dword [edi]
je 0x4b16fd
add eax, 0x18
cmp eax, ecx
jne 0x4b16e6
jmp 0x4b174b
push eax
call fcn.004b1c20
test al, al
je 0x4b172b
test esi, esi
je 0x4b171e
mov eax, dword [esi]
test eax, eax
je 0x4b1718
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x18], esi
push dword [esp + 0x10]
mov ecx, ebx
call fcn.004b20a0
jmp 0x4b174b
test esi, esi
je 0x4b1742
mov eax, dword [esi]
test eax, eax
je 0x4b173c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x10]
call fcn.004ad970
mov byte [esp + 0x38], 1
test esi, esi
je 0x4b1769
mov eax, dword [esi]
test eax, eax
je 0x4b1761
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
add edi, 0x18
cmp edi, dword [esp + 0x20]
jne 0x4b16c0
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 0
test eax, eax
je 0x4b17af
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0xffffffff
test ebx, ebx
je 0x4b17cc
mov eax, dword [ebx]
test eax, eax
je 0x4b17c4
push eax
call esi
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00505b1e
mov esp, ebp
pop ebp
ret