joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4846a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b4998
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
lea ecx, [esp + 0xa8]
push edi
push ecx
call fcn.004e2260
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push edx
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.004e2260
mov eax, dword [esp + 0x40]
mov ebx, dword [ebp + 0x18]
cdq
idiv ebx
add esp, 0x18
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edx
cdq
idiv ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test edx, edx
jle 0x484723
inc dword [esp + 0x14]
cmp dword [esp + 0x10], 0
jle 0x48472f
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x4c]
call fcn.00448e00
mov ecx, esi
mov dword [esp + 0xc0], 0
call fcn.004d5280
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x54]
call fcn.004d5c70
lea ecx, [esp + 0x4c]
call fcn.004d51a0
xor esi, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0xac]
push eax
push edi
call fcn.004e1d50
add esp, 0x10
xor edi, edi
cmp dword [esp + 0x28], esi
jle 0x48480f
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x484806
mov eax, edi
cdq
idiv ebx
mov dword [esp + 0x10], eax
mov eax, esi
cdq
idiv ebx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x98]
push eax
call fcn.004d5ca0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add ecx, esi
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x30]
add edx, edi
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], edx
call fcn.004d60d0
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x4847ad
inc edi
xor esi, esi
cmp edi, dword [esp + 0x28]
jl 0x4847a0
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x484823
push eax
call fcn.0058984a
add esp, 4
mov edx, dword [esp + 0x7c]
push edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
call fcn.0058984a
mov eax, dword [esp + 0x74]
add esp, 4
cmp eax, esi
je 0x484856
push eax
call fcn.0058984a
add esp, 4
mov eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call fcn.0058984a
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4870c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b4e03
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.004b1180
lea ecx, [esi + 8]
mov byte [esp + 0x14], 0
call fcn.00486e60
mov esi, dword [esi + 4]
mov dword [esp + 0x14], 0xffffffff
test esi, esi
je 0x48713e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x48713e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48713e
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x48bc50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b55d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xb]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 8]
push edx
call fcn.0048a670
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
mov dword [esi + 0x28], 0xffffffff
call fcn.004b0fb0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4907a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5aba88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov byte [esi], 0
mov byte [esi + 1], 0
mov dword [esi + 4], 2
mov dword [esi + 8], 0x64
call fcn.00403570
mov ecx, eax
call fcn.0049a750
mov ecx, eax
call fcn.004b1650
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 8]
push edx
call eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x38], 0
call fcn.00406e60
cmp dword [esp + 0x20], 4
jb 0x490825
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0058984a
add esp, 4
mov eax, 0x32
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov al, 1
mov dword [esi + 0x28], 0x50
mov byte [esi + 0x3c], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov byte [esi + 0x40], al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x4aacc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b6ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [esp + 0x184]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0x17c]
mov edi, dword [esp + 0x180]
mov esi, ecx
mov dword [esp + 0x14], eax
call fcn.004d0500
test al, al
je 0x4aad9e
push 1
push 0x14
push str..graphicsgraphics2drender3.cpp
lea ecx, [esp + 0xc0]
call fcn.00496f50
lea ecx, [esp + 0xb4]
push 0x5d673c
push ecx
mov dword [esp + 0x178], 0
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0xb4]
call fcn.00496c20
test al, al
je 0x4aad6c
int3
lea ecx, [esp + 0x130]
mov dword [esp + 0x170], 0xffffffff
call fcn.00401f70
lea edx, [esp + 0x130]
push edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
mov eax, dword [edi + 8]
fld1
mov ecx, dword [edi + 0xc]
fst dword [esp + 0x20]
lea edx, [esp + 0x30]
fst dword [esp + 0x24]
push edx
fstp dword [esp + 0x2c]
fld dword [esp + 0x18c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x30]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
mov ecx, esi
call fcn.004ce7c0
lea edx, [esp + 0x20]
push edx
push edi
push ebp
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.004aa950
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00589f78
add esp, 0x160
ret 0x14
Function at 0x4ac320
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov esi, dword [ebp + 4]
sub esi, dword [ebp]
mov ebx, 1
inc esi
push edi
xor ecx, ecx
mov eax, ebx
mov edx, 0x20
jmp 0x4ac340
or ecx, eax
rol eax, 1
sub edx, ebx
jne 0x4ac340
cmp ecx, 0xffffffff
jne 0x4ac355
lea ebx, [edx + 2]
mov ecx, 0x7fffffff
inc ecx
xor edx, edx
mov eax, ecx
div esi
test edx, edx
jne 0x4ac364
mov ebx, eax
jmp 0x4ac381
shr eax, 5
cmp eax, esi
jb 0x4ac381
jmp 0x4ac370
shr ecx, 1
xor edx, edx
mov eax, ecx
div esi
add ebx, ebx
shr eax, 5
cmp eax, esi
jae 0x4ac370
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
mov eax, dword [edi + 0x1380]
cmp eax, 0x270
jne 0x4ac398
push 0
jmp 0x4ac3a1
cmp eax, 0x4e0
jl 0x4ac3a8
push 1
mov ecx, edi
call fcn.004abf20
mov eax, dword [edi + 0x1380]
mov ecx, dword [edi + eax*4]
inc eax
mov dword [edi + 0x1380], eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
div ebx
xor edx, edx
pop edi
div esi
pop esi
mov eax, edx
add eax, dword [ebp]
pop ebp
pop ebx
ret 4
Function at 0x4ad910
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b720b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov dword [esi], vtable.Maid::Surface.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov cl, byte [edi + 0x14]
lea edx, [edi + 0x18]
mov byte [esi + 0x14], cl
push edx
lea ecx, [esi + 0x18]
mov dword [esi], vtable.Maid::SurfaceInstance.0
call fcn.004ad1f0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], 0
call fcn.004ad1f0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4b39f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b7908
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], 0xb
mov dword [esp + 0xc], vtable.Maid::GUIMESSAGE_MOUSEUP.0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x40]
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.0050ee40
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc8], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0x10

Function at 0x4b4480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b7a28
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00402500
mov dword [esi], vtable.boost::bad_function_call.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x4b44ca
add edi, 0x28
jmp 0x4b44cc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4b44e4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4b4570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b7a63
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.004b4480
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_function_call__.2.0
test edi, edi
je 0x4b45d5
lea ebx, [edi + 0x28]
jmp 0x4b45d7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x4b45e8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x4b45f8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4b5200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b7c28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esp + 0x3c], 0
mov edi, dword [esp + 0x38]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
je 0x4b5251
add eax, eax
add eax, eax
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004999d0
mov ecx, eax
call fcn.004b1650
mov ecx, dword [eax]
mov ebp, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [eax]
add eax, 4
mov dword [esi], ecx
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x30], 0
call fcn.00405040
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], 0xffffffff
test eax, eax
je 0x4b52c9
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4b52c9
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b52c9
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
push 0xffffffffffffffff
push 0
push ebp
lea ecx, [esi + 8]
call fcn.00406e60
mov ecx, dword [edi]
mov al, byte [esp + 0x3c]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x44]
mov byte [esi + 0x2c], al
mov eax, dword [esp + 0x40]
mov dword [esi + 0x28], edx
fld dword [eax + 0xc]
fstp dword [esi + 0x3c]
fld dword [eax]
fstp dword [esi + 0x30]
fld dword [eax + 4]
fstp dword [esi + 0x34]
fld dword [eax + 8]
fstp dword [esi + 0x38]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
Function at 0x4bf7d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b87a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea esi, [ecx + 4]
mov ecx, esi
call fcn.0049a5a0
call fcn.004999d0
mov ecx, eax
call fcn.004dda70
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x10000
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
call edx
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x30], 0
mov dword [esi], eax
call fcn.00405040
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
test eax, eax
je 0x4bf89e
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4bf89e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4bf89e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4

Function at 0x4bf980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b87a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea esi, [ecx + 4]
mov ecx, esi
call fcn.0049a5a0
call fcn.004999d0
mov ecx, eax
call fcn.004dda70
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0x10000
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
call edx
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x30], 0
mov dword [esi], eax
call fcn.00405040
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
test eax, eax
je 0x4bfa4e
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4bfa4e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4bfa4e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4
Function at 0x4c91d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b9836
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
mov dword [esi], vtable.Maid::SoundFile.0
xor eax, eax
mov dword [edi], vtable.Maid::JobCacheTemplate_class_Maid::KEEPOUT::SoundFileInput__class_Maid::KEEPOUT::SoundFileFunction__class_Maid::KEEPOUT::SoundFileOutput_.0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x1c], eax
fld1
mov ebx, dword [esp + 0x24]
fstp qword [esi + 0x28]
fldz
mov byte [esi + 0x20], al
fstp qword [esi + 0x30]
mov byte [esi + 0x21], al
mov byte [esp + 0x1c], 1
cmp dword [ebx + 0x14], eax
je 0x4c9258
call fcn.004c8460
lea ecx, [ebx + 8]
call fcn.004c6b30
push eax
mov ecx, edi
call fcn.004c8b30
mov ecx, esi
call fcn.004c8ff0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4d9340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bb0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea esi, [ecx + 4]
mov ecx, esi
call fcn.0049a5a0
call fcn.004999d0
mov ecx, eax
call fcn.004dda70
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x14]
push eax
call edx
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x40], edi
mov dword [esi], eax
call fcn.00405040
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, edi
je 0x4d9418
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4d9418
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4d9418
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 8
Function at 0x4e12d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b7f76
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x160], eax
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
cmp dword [esp + 0x184], 0
mov edi, dword [esp + 0x180]
mov esi, ecx
jne 0x4e1323
xor eax, eax
jmp 0x4e1441
mov eax, dword [esi]
test eax, eax
jne 0x4e13a2
push 1
push 0x64
push str.._storage_fileio_filewrite.cpp
lea ecx, [esp + 0x18]
call fcn.00496f50
lea eax, [esp + 0xc]
push 0x5d84a0
push eax
mov dword [esp + 0x180], 0
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00496c20
test al, al
je 0x4e1366
int3
lea ecx, [esp + 0x88]
mov dword [esp + 0x178], 0xffffffff
call fcn.00401f70
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x8c], vtable.std::ios_base.0
call fcn.00588e93
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x4e131c
mov edx, dword [esp + 0x184]
push eax
push 1
push edx
push edi
call fcn.0058c171
mov esi, eax
add esp, 0x10
cmp esi, 1
je 0x4e143a
push 1
push 0x6b
push str.._storage_fileio_filewrite.cpp
lea ecx, [esp + 0xc8]
call fcn.004e3750
push esi
lea eax, [esp + 0xc0]
push 0x5d84bc
push eax
mov dword [esp + 0x184], 1
call fcn.00402cc0
add esp, 8
mov ecx, eax
call fcn.00408aa0
push 0
lea ecx, [esp + 0xc0]
call fcn.004e38c0
lea ecx, [esp + 0x138]
mov dword [esp + 0x178], 0xffffffff
call fcn.00401f70
lea ecx, [esp + 0x138]
push ecx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00589f78
add esp, 0x170
ret 8
Function at 0x4e17a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c0b4b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xd4]
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
call edx
test al, al
jne 0x4e185d
push 1
push 0x5a
push str.._storage_fileio_filereadnormal.cpp
lea ecx, [esp + 0x1c]
call fcn.00496f50
lea eax, [esp + 0x10]
push 0x5d84a0
push eax
mov dword [esp + 0xd4], 0
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00496c20
test al, al
je 0x4e182b
int3
lea ecx, [esp + 0x8c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.00401f70
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
mov edi, dword [esp + 0xd8]
test edi, edi
jne 0x4e186c
xor eax, eax
jmp 0x4e1892
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4e187d
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x20]
push eax
push 1
push edi
push ebx
call fcn.0058c7ea
add esp, 0x10
add dword [esi + 0x28], edi
mov eax, edi
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00589f78
add esp, 0xc0
ret 8
Function at 0x4eb020
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bc722
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esp + 0xb]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 4]
push edx
mov dword [esi], vtable.Maid::SoundCore.0
call fcn.004ea690
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], 0
call fcn.004db5f0
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 1
call fcn.004b9160
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.004e5100
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 3
call fcn.004b9160
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov byte [esi + 0x5c], 1
mov dword [esi + 0x60], 1
lea ecx, [esi + 0x64]
mov byte [esp + 0x18], 5
call fcn.004dbd80
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret