joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 8]
mov edx, dword [0x4215f0]
xor edx, ebp
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [ebp - 0x20], eax
call fcn.00406290
lea ecx, [ebp - 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004062b0
lea eax, [0x406330]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, 4
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], eax
call fcn.004063b0
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 4], 0
lea edx, [0x406330]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x14], eax
mov dword [ebp - 0x28], ecx
call fcn.0040d326
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0xd5b5bf17
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, 0xa98c0e5c
mov dword [ebp - 0x2c], eax
je 0x406254
jmp 0x4061e7
mov eax, dword [ebp - 0x2c]
sub eax, 0xc4a4ae38
je 0x40626a
jmp 0x4061fa
mov eax, dword [ebp - 0x2c]
sub eax, 0xd5b5bf17
je 0x406225
jmp 0x40620d
mov eax, dword [ebp - 0x2c]
sub eax, 0xd6d6687d
je 0x406240
jmp 0x406220
jmp 0x406285
mov eax, dword [ebp - 8]
cmp eax, 0
mov eax, 0xd6d6687d
mov ecx, 0xa98c0e5c
cmovne ecx, eax
mov dword [ebp - 0x1c], ecx
jmp 0x406285
lea ecx, [ebp - 0x10]
call fcn.004063d0
mov dword [ebp - 0x1c], 0xc4a4ae38
jmp 0x406285
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
mov dword [esp], 6
call fcn.0040aa5d
lea ecx, [ebp - 0x10]
call fcn.00406420
mov eax, dword [ebp - 4]
xor eax, ebp
mov ecx, eax
call fcn.0040a881
add esp, 0x44
pop ebp
ret 4
jmp 0x4061ce

Function at 0x40ba2c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ba6b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ba6b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ba6b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40ba6b
cmp dword [ecx + 0x74], 0xe
jbe 0x40ba6b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40fdc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40fded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40fded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x410152
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x419dcc
push 0x419dc4
push str.FlsAlloc
push 0x1f
call fcn.004104de
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410186
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x41018c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4101d0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x419ddc
push 0x419dd4
push str.FlsGetValue
push 0x21
call fcn.004104de
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410207
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41020f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x419de4
push 0x419ddc
push str.FlsSetValue
push 0x22
call fcn.004104de
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410249
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x41386d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41390a
push ebx
push esi
call fcn.0041390d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00413771
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4138b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x413909
push edi
push eax
call fcn.00412285
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4138d7
call fcn.0041170b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x413908
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00413771
add esp, 0x20
test eax, eax
jne 0x4138f6
push edi
call fcn.0041170b
jmp 0x4138fe
push ebx
call fcn.0041170b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x937fb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe3000]
push edi
jmp 0x937fca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x937fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x937fc0
mov eax, 1
add ebx, ebx
jne 0x937fe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x937ff4
jne 0x938013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x938013
dec eax
add ebx, ebx
jne 0x938000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x937fd8
add ebx, ebx
jne 0x93800f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x938065
xor ecx, ecx
sub eax, 3
jb 0x93802b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x93809a
sar eax, 1
mov ebp, eax
jmp 0x938036
add ebx, ebx
jne 0x938036
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x938004
inc ecx
add ebx, ebx
jne 0x938044
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x938004
add ebx, ebx
jne 0x938051
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x938046
jne 0x938062
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x938046
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x938084
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x938076
jmp 0x937fc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x938084
add edi, ecx
jmp 0x937fc6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9380a2
cmp byte [edi], 0x11
jne 0x9380a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9380a7
lea edi, [esi + 0x130000]
mov eax, dword [edi]
or eax, eax
je 0x93811f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x197c70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x197dec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9380d4
mov ecx, edi
jns 0x938103
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x197df0]
or eax, eax
je 0x938119
mov dword [ebx], eax
add ebx, 4
jmp 0x9380f1
call dword [esi + 0x197e00]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x938150
cmp al, 0xef
ja 0x938143
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x938125
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x938132
mov ebp, dword [esi + 0x197df4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x938184
sub esp, 0xffffff80
jmp 0x825f74
Function at 0x414e70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x414f11
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov esi, dword [ecx + 4]
xor eax, eax
cmp esi, edx
push edi
jle 0x414ebf
mov edi, dword [ecx]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x4ecd40]
add edx, 1
cmp edx, esi
jl 0x414ea1
xor edx, edx
mov esi, dword [ecx + 0xc]
cmp esi, edx
jle 0x414eec
mov edi, dword [ecx + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x4ecd40]
add edx, 1
cmp edx, esi
jl 0x414ed0
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x42e7b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4bf668
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x512000]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x512000]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x1c], eax
call fcn.0042eb00
xorps xmm0, xmm0
movdqa xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call fcn.0048bba0
mov edi, eax
mov dword [esp + 0x28], edi
call fcn.0046c210
mov ecx, dword [edi + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], vtable.CFuncSprite.0
mov dword [esp + 0x38], ecx
push 0x500
mov dword [esp + 0x64], 0
mov ecx, dword [0x54eddc]
push str._Screen_Original_Width
call fcn.0049aec0
mov ecx, dword [0x54eddc]
push 0x2d0
push str._Screen_Original_Height
mov dword [esp + 0x20], eax
call fcn.0049aec0
push 2
mov dword [esp + 0x24], eax
call fcn.0047e4b0
push 1
push dword [esp + 0x24]
mov esi, eax
push dword [esp + 0x20]
mov ecx, esi
push 0
mov edx, dword [esi]
push 0
call dword [edx + 0x1c]
push esi
push 0x64
mov ecx, edi
call fcn.0048d760
push 2
call fcn.0047e4b0
push 0
push dword [esp + 0x24]
mov esi, eax
push dword [esp + 0x20]
mov ecx, esi
push 0
mov edx, dword [esi]
push 0
call dword [edx + 0x1c]
push esi
push 0x65
mov ecx, edi
call fcn.0048d760
mov esi, dword [esp + 0x1c]
push 0x64
mov ecx, dword [esi + 4]
call fcn.0048d6f0
mov ecx, dword [esi + 4]
mov edi, eax
push 0x65
call fcn.0048d6f0
mov esi, eax
mov dword [esp + 0x1c], esi
call fcn.0046c860
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x42e8ed
push edi
call fcn.00495ff0
call fcn.0046c860
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x42e8ff
push esi
call fcn.00495ff0
mov esi, dword [esp + 0x18]
lea ecx, [edi + 0x104]
mov edi, dword [esp + 0x20]
mov eax, dword [ecx]
push 0x80
push edi
push esi
push 0
push 0
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x1c]
push 0x80
add ecx, 0x104
push edi
push esi
push 0
mov eax, dword [ecx]
push 0
call dword [eax + 0xa4]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004abee8
mov esp, ebp
pop ebp
ret
Function at 0x4327c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [0x53e8cc]
xor eax, eax
cmp edi, ecx
ja 0x432807
mov eax, dword [0x53e8d0]
push 4
push 0x1000
sub eax, ecx
push edi
add eax, 0xc15888
push eax
call dword [0x4c819c]
test eax, eax
je 0x432807
lea ecx, [edi + 0x10000]
and ecx, 0xffff0000
sub dword [0x53e8cc], ecx
mov dword [esi + 0xd4], eax
test eax, eax
jne 0x432820
mov dword [esi + 0x4c], 0x18
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
mov eax, dword [esi]
mov ecx, esi
push 0x80c8
push dword [ebp + 8]
mov dword [esi + 0xd8], edi
call dword [eax + 0x4c]
test eax, eax
je 0x432818
push 0
push 0
push 1
push 0
call dword [0x4c8194]
mov dword [esi + 0x2c], eax
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x42f1d0
push 0
push 0
call fcn.004ac8d3
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x43287f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
pop edi
mov dword [esi + 0x4c], 0x12
xor eax, eax
pop esi
pop ebp
ret 8
push 1
push eax
call dword [0x4c8190]
pop edi
mov dword [esi + 0x4c], 0
mov eax, 1
pop esi
pop ebp
ret 8

Function at 0x433a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.004327c0
test eax, eax
je 0x433acc
push 0
push 0
push 0
push 0
call dword [0x4c8194]
mov dword [esi + 0x114], eax
lea eax, [esi + 0x11c]
push eax
push 0
push esi
push 0x4340e0
push 0
push 0
call fcn.004ac8d3
add esp, 0x18
mov dword [esi + 0x118], eax
test eax, eax
jne 0x433ad3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [esi + 0x4c], 0x12
xor eax, eax
pop esi
pop ebp
ret 8
push 1
push eax
call dword [0x4c8190]
mov dword [esi + 0x4c], 0
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x441c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4c06d0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x512000]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x512000]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movdqa xmmword [esp + 0x14], xmm0
call fcn.0048bba0
mov esi, eax
mov dword [esp + 0x18], esi
call fcn.0046c210
mov ecx, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], vtable.CFuncScreen.0
mov dword [esp + 0x80], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
je 0x441d46
mov esi, dword [edi + 0x1c]
cmp esi, dword [edi + 0x20]
je 0x441dc1
mov eax, edi
mov edi, edi
mov edi, dword [esi]
cmp dword [edi + 0x4c], 1
jne 0x441d3c
cmp dword [edi + 0x50], 0
jne 0x441d3c
mov ecx, dword [edi]
sub esp, 8
movss xmm0, dword [edi + 0x58]
mov eax, dword [ecx]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
call dword [eax + 0xf0]
mov ecx, dword [edi]
push dword [edi + 0x40]
push dword [edi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [edi]
push 1
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [esp + 0x10]
mov dword [edi + 0x50], 1
add esi, 4
cmp esi, dword [eax + 0x20]
jne 0x441cf0
jmp 0x441dc1
push 0x38
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004ae540
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.00493390
mov byte [esp + 0x80], 3
mov esi, dword [edi + 0x1c]
cmp esi, dword [edi + 0x20]
je 0x441d87
mov ecx, dword [esi]
cmp dword [ecx + 0x4c], 1
jne 0x441d7f
push 1
call fcn.00441080
add esi, 4
cmp esi, dword [edi + 0x20]
jne 0x441d70
mov dword [esp + 0x38], vtable.CSpriteAnime.0
mov byte [esp + 0x80], 5
lea edx, [esp + 0x38]
mov ecx, dword [0x54edf0]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0x38]
call fcn.00493840
mov eax, dword [esp + 0x64]
test eax, eax
je 0x441dc1
push eax
call fcn.004abef7
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004abee8
mov esp, ebp
pop ebp
ret
Function at 0x44cfb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0e58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x512000]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x512000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x58]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4b
push 2
mov dword [eax + 8], 1
mov eax, dword [esi]
push 0
push str.SkipBG.akb
call dword [eax + 0xcc]
mov ecx, eax
mov dword [0x53e974], eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [0x54eddc]
push 1
push str._Config_SceneSkip
call fcn.0049b130
push 0x30
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004ae540
add esp, 0xc
mov dword [esp + 8], vtable.IFunc.0
call fcn.0048bba0
mov dword [esp + 0xc], eax
call fcn.0046c210
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xc], vtable.IFuncFlag.0
mov dword [esp + 0x20], vtable.CCriticalSection.0
call dword [0x4c81c0]
mov dword [esp + 8], vtable.CFuncFlag.0
push 0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0
call fcn.00447450
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 8]
test eax, eax
je 0x44d0c7
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
sub eax, ecx
test eax, 0xffffffe0
je 0x44d0c7
mov dword [ecx + 0x6e0], 0
and dword [ecx + 0x6e4], 0xfffffff7
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 8]
test eax, eax
je 0x44d0f1
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
sub eax, ecx
test eax, 0xffffffe0
je 0x44d0f1
mov dword [ecx + 0x6e0], 0
and dword [ecx + 0x6e4], 0xfffffffb
lea eax, [esp + 0x20]
mov dword [esp + 8], vtable.IFuncFlag.0
push eax
mov dword [esp + 0x20], vtable.CCriticalSection.0
call dword [0x4c8204]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004abee8
mov esp, ebp
pop ebp
ret
Function at 0x458650
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c1528
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x512000]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x512000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
push 0x30
lea eax, [esp + 0x14]
mov dword [edi + 4], 1
push 0
push eax
mov dword [edi + 0x80], 0xffffffff
mov dword [edi + 0x74], 0
mov dword [edi + 0x98], 0
call fcn.004ae540
add esp, 0xc
mov dword [esp + 0x10], vtable.IFunc.0
call fcn.0048bba0
mov dword [esp + 0x14], eax
call fcn.0046c210
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], vtable.IFuncFlag.0
mov dword [esp + 0x28], vtable.CCriticalSection.0
call dword [0x4c81c0]
mov dword [esp + 0x10], vtable.CFuncFlag.0
push ecx
push 0x1ba4
push 0
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x60], 0
call fcn.004801c0
push ecx
push 1
push 0x35
push 0
lea ecx, [esp + 0x20]
call fcn.00480360
push ecx
push 1
push 0x38
push 0
lea ecx, [esp + 0x20]
call fcn.00480360
mov ecx, dword [edi + 0x64]
push str.save_load_00.area
mov eax, dword [ecx + 0x30]
mov dword [edi + 0x84], eax
mov eax, dword [ecx + 0x30]
add eax, 0x1ba2
mov dword [edi + 0x88], eax
movzx ecx, word [eax]
mov eax, 0x66666667
imul ecx
lea ecx, [edi + 0x2c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x88]
movzx eax, word [eax]
mov dword [edi + 0x90], eax
call fcn.00468820
mov eax, dword [edi + 0x70]
cmp eax, 1
jne 0x458803
mov esi, dword [edi + 0x84]
mov edx, 0x53e9d0
jmp 0x4587b0
mov dword [edx], 0
xor ecx, ecx
mov eax, esi
lea ebx, [ebx]
cmp byte [eax], 1
je 0x4587d0
inc ecx
add eax, 0x36
cmp ecx, 0xa
jl 0x4587c0
jmp 0x4587d6
mov dword [edx], 1
add edx, 4
add esi, 0x21c
cmp edx, 0x53ea04
jl 0x4587b0
mov eax, dword [edi + 0x8c]
cmp dword [eax*4 + 0x53e9d0], 0
jne 0x45885e
mov dword [edi + 0x8c], 0xc
jmp 0x45885e
test eax, eax
jne 0x45885e
cmp dword [edi + 0x8c], 0xa
jl 0x458816
mov dword [edi + 0x8c], eax
movdqa xmm0, xmmword [0x501c10]
movdqa xmmword [0x53e9f0], xmm0
mov dword [0x53ea00], 1
movdqa xmmword [0x53e9d0], xmm0
movdqa xmmword [0x53e9e0], xmm0
mov dword [0x53ea00], 0
mov dword [0x53e9f8], 0
mov dword [0x53e9fc], 0
mov ecx, dword [0x53ea18]
push 0
add ecx, 0x104
push 0x2d0
push 0x500
push 0
mov eax, dword [ecx]
push 0
call dword [eax + 0xa4]
push ecx
push dword [edi + 0x8c]
mov ecx, edi
call fcn.00459500
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
lea eax, [esp + 0x28]
mov dword [esp + 0x10], vtable.IFuncFlag.0
push eax
mov dword [esp + 0x28], vtable.CCriticalSection.0
call dword [0x4c8204]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004abee8
mov esp, ebp
pop ebp
ret
Function at 0x45bb90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2478
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x512000]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x512000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x64]
push 0x30
push 0
mov eax, dword [eax + 0x48]
mov dword [eax + 0x6a0], 0
mov dword [eax + 0x6a4], 1
lea eax, [esp + 0x18]
push eax
call fcn.004ae540
add esp, 0xc
mov dword [esp + 0x10], vtable.IFunc.0
call fcn.0048bba0
mov dword [esp + 0x14], eax
call fcn.0046c210
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], vtable.IFuncFlag.0
mov dword [esp + 0x28], vtable.CCriticalSection.0
call dword [0x4c81c0]
mov dword [esp + 0x10], vtable.CFuncFlag.0
push ecx
push 0x1ba4
push 0
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x60], 0
call fcn.004801c0
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx + 0x30]
mov dword [ebx + 0x84], eax
mov eax, dword [ecx + 0x30]
add eax, 0x1ba2
mov dword [esp + 0x50], 0xffffffff
mov dword [ebx + 0x88], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], vtable.IFuncFlag.0
mov dword [esp + 0x28], vtable.CCriticalSection.0
call dword [0x4c8204]
mov dword [esp + 0x24], vtable.ICriticalSection.0
mov edi, 0x77
mov dword [esp + 0x10], vtable.IFunc.0
mov esi, 0x191a
lea eax, [edi + 1]
push eax
push edi
call fcn.0045ca60
mov edx, dword [ebx + 0x84]
dec edi
add edx, esi
sub esi, 0x36
movdqu xmm0, xmmword [edx - 0x36]
movdqu xmmword [edx], xmm0
movdqu xmm0, xmmword [edx - 0x26]
movdqu xmmword [edx + 0x10], xmm0
movdqu xmm0, xmmword [edx - 0x16]
movdqu xmmword [edx + 0x20], xmm0
mov eax, dword [edx - 6]
mov dword [edx + 0x30], eax
mov ax, word [edx - 2]
mov word [edx + 0x34], ax
cmp esi, 0x1518
jg 0x45bcb5
push 0
push 0x64
mov ecx, ebx
call fcn.0045c420
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 4