Function at 0x40a1f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4999
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x572b90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x5c], xmm1
mov esi, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x40], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], esi
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [esi], vtable.SceneManager.0
mov dword [ebp - 0x70], ecx
mov dword [ecx], 0
lea eax, [esi + 8]
mov dword [esi + 8], 0
mov dword [ebp - 0x78], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ebp - 0x50], ecx
lea ecx, [esi + 0x10]
mov dword [ecx], 0
mov dword [ebp - 0x40], ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea eax, [esi + 0x1c]
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x20], 0
mov dword [ebp - 0x44], eax
mov dword [eax], 0
lea eax, [esi + 0x34]
mov byte [esi + 0x30], 0
mov dword [ebp - 0x64], eax
mov dword [eax], 0
lea eax, [esi + 0x38]
mov dword [eax], 0
mov dword [ebp - 0x60], eax
lea eax, [esi + 0x3c]
mov dword [eax], 0
mov dword [ebp - 0x68], eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xb
call fcn.00421ae0
lea ecx, [esi + 0x170]
mov byte [ebp - 4], 0xc
call fcn.004202d0
mov byte [ebp - 4], 0xd
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1bc], 0x40400000
mov dword [esi + 0x1c0], 0x40400000
mov dword [esi + 0x1c4], 0x3d4ccccd
mov dword [esi + 0x1c8], 0x3a83126f
mov dword [esi + 0x1cc], 0
mov byte [esi + 0x1d0], 0
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
push 0xa4
mov dword [esi + 0x40], edi
call fcn.004c0775
mov esi, eax
mov dword [ebp - 0x28], esi
push 0xa4
push 0
push esi
mov byte [ebp - 4], 0xe
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push edi
mov ecx, esi
call fcn.004072b0
mov esi, dword [ebp - 0x44]
mov ecx, eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xd
cmp esi, eax
je 0x40a3ac
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x40a3b6
mov eax, dword [edx]
mov ecx, edx
jmp 0x40a3b2
test ecx, ecx
je 0x40a3b6
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x5c]
mov esi, dword [esi]
push 0x40
movss dword [edi + 0x24], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [edi + 0x28], xmm0
call fcn.004c0775
push 0x40
push 0
push eax
mov dword [ebp - 0x44], eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x88]
movss xmm0, dword [edi + 0x24]
lea eax, [edi + 0x14]
movss xmm1, dword [edi + 0x28]
add esp, 0x10
mov dword [ecx], vtable.Scene.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0xff
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov byte [ecx + 0x3c], 1
mov dword [ecx + 0x14], esi
movss dword [ecx + 0x18], xmm0
movss dword [ecx + 0x1c], xmm1
mov dword [ecx + 0x20], 0
cmp eax, edx
je 0x40a472
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x40a478
mov eax, dword [edx]
mov ecx, edx
jmp 0x40a474
mov eax, dword [ecx]
push 1
call dword [eax]
push 0xa8
call fcn.004c0775
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0041ecf0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x18]
cmp esi, ecx
je 0x40a4b4
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x40a4c6
push 0xa8
push ecx
jmp 0x40a4be
test eax, eax
je 0x40a4c6
push 0xa8
push eax
call fcn.004c07a5
add esp, 8
movss xmm0, dword [ebp - 0x58]
sub esp, 8
mov ecx, dword [esi]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [esp], xmm0
call fcn.0041f160
mov ecx, dword [esi]
mov edi, dword [edi + 0x2c]
call fcn.0041ef40
push 0x64
mov dword [ebp - 0x44], eax
call fcn.004c0775
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x64
push 0
push esi
mov byte [ebp - 4], 0x10
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x44]
add esp, 0x10
mov ecx, esi
push edi
push dword [eax + 4]
push dword [eax]
call fcn.00405620
mov ecx, eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x90]
cmp eax, edx
je 0x40a540
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x40a54a
mov eax, dword [edx]
mov ecx, edx
jmp 0x40a546
test ecx, ecx
je 0x40a54a
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x110
call fcn.004c0775
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x110
push 0
push esi
mov byte [ebp - 4], 0x11
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.00418970
mov esi, dword [ebp - 0x64]
mov ecx, eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xd
cmp esi, eax
je 0x40a595
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x40a59f
mov eax, dword [edx]
mov ecx, edx
jmp 0x40a59b
test ecx, ecx
je 0x40a59f
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x28
call fcn.004c0775
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00419410
mov edi, eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x98]
cmp eax, ecx
je 0x40a5e1
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov dword [eax], edi
test ecx, ecx
je 0x40a5f7
call fcn.004194d0
push 0x28
push dword [ebp - 0x48]
jmp 0x40a5ef
test edi, edi
je 0x40a5f7
mov ecx, edi
call fcn.004194d0
push 0x28
push edi
call fcn.004c07a5
add esp, 8
push str.Textures_playerSmoke.png
lea ecx, [ebp - 0x3c]
call fcn.004052c0
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
mov ecx, dword [edi]
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00419ee0
test al, al
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x28]
sete al
mov byte [ebp - 0x21], al
cmp ecx, 0x10
jb 0x40a666
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a659
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a659
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c07a5
mov al, byte [ebp - 0x21]
add esp, 8
test al, al
je 0x40a68a
push 0x403fb0
push str.Player_smoke_texture_load_failure
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00403d50
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esi]
push 0
push dword [edi]
call fcn.00418ad0
mov esi, dword [esi]
push 0x14
call fcn.004c0775
mov edi, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x68]
lea ecx, [edi + 4]
mov dword [ebp - 0x28], edi
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi], esi
mov dword [edi + 0x10], 0
cmp eax, edx
je 0x40a6fc
mov esi, dword [eax]
mov dword [eax], edi
test esi, esi
je 0x40a70c
lea ecx, [esi + 4]
call fcn.00402bc0
push 0x14
push esi
jmp 0x40a704
call fcn.00402bc0
push 0x14
push edi
call fcn.004c07a5
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x14
movaps xmm0, xmmword [0x56a230]
lea ecx, [ebp - 0x1c]
push eax
push 0
movups xmmword [ebp - 0x34], xmm0
call fcn.00404ce0
movaps xmm0, xmmword [0x56a260]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movups xmmword [ebp - 0x34], xmm0
cmp eax, ecx
je 0x40a76d
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x40a780
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404ce0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmmword [0x56a280]
movups xmmword [ebp - 0x34], xmm0
cmp eax, ecx
je 0x40a79a
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x40a7ad
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404ce0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmmword [0x56a290]
movups xmmword [ebp - 0x34], xmm0
cmp eax, ecx
je 0x40a7c7
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x40a7da
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404ce0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmmword [0x56a2b0]
movups xmmword [ebp - 0x34], xmm0
cmp eax, ecx
je 0x40a7f4
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x40a807
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404ce0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmmword [0x56a2f0]
movups xmmword [ebp - 0x34], xmm0
cmp eax, ecx
je 0x40a821
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x40a834
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404ce0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmmword [0x56a300]
movups xmmword [ebp - 0x34], xmm0
cmp eax, ecx
je 0x40a84e
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x40a85b
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404ce0
mov esi, dword [ebp - 0x64]
sub esp, 8
mov ecx, dword [esi]
mov dword [esp + 4], 0x41700000
add ecx, 4
mov dword [esp], 0x41400000
call fcn.00419150
mov ecx, dword [esi]
sub esp, 8
add ecx, 4
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x40000000
call fcn.00419270
push ecx
mov dword [esp], 0x3d8f5c29
lea eax, [ebp - 0x1c]
push 0
sub esp, 0xc
mov ecx, esp
push eax
call fcn.00402c60
mov edi, dword [ebp - 0x68]
push ecx
mov ecx, dword [edi]
call fcn.00402aa0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], eax
movaps xmm0, xmmword [0x56a230]
cmovne eax, dword [ebp - 0x1c]
mov ecx, dword [esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x34], xmm0
call fcn.00418b80
mov eax, dword [edi]
push 0x11c
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], 0
mov byte [eax + 0x1c], 1
call fcn.004c0775
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x11c
push 0
push esi
mov byte [ebp - 4], 0x15
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
mov ecx, esi
push eax
call fcn.0041cb30
mov ecx, eax
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0xa0]
cmp esi, eax
je 0x40a94f
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x40a959
mov eax, dword [edx]
mov ecx, edx
jmp 0x40a955
test ecx, ecx
je 0x40a959
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [esi]
lea ecx, [ebp - 0x28]
push 0x655057ff
call fcn.0041a7c0
push eax
mov ecx, esi
call fcn.0041c410
push 0x11c
call fcn.004c0775
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x11c
push 0
push esi
mov byte [ebp - 4], 0x16
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], 0
mov ecx, esi
push eax
call fcn.0041cb30
mov ecx, eax
mov byte [ebp - 4], 0x14
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0xa4]
cmp edi, eax
je 0x40a9cd
mov edx, dword [edi]
mov dword [edi], ecx
test edx, edx
je 0x40a9d7
mov eax, dword [edx]
mov ecx, edx
jmp 0x40a9d3
test ecx, ecx
je 0x40a9d7
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi]
lea ecx, [ebp - 0x28]
push 0x655057ff
call fcn.0041a7c0
push eax
mov ecx, esi
call fcn.0041c410
push 0x11c
call fcn.004c0775
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x11c
push 0
push esi
mov byte [ebp - 4], 0x17
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x78], 0
mov ecx, esi
push eax
call fcn.0041cb30
mov ecx, eax
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0xa8]
cmp esi, eax
je 0x40aa4b
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x40aa55
mov eax, dword [edx]
mov ecx, edx
jmp 0x40aa51
test ecx, ecx
je 0x40aa55
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [esi]
lea ecx, [ebp - 0x28]
push 0x655057ff
call fcn.0041a7c0
push eax
mov ecx, esi
call fcn.0041c410
push 0x11c
call fcn.004c0775
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x11c
push 0
push esi
mov byte [ebp - 4], 0x18
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 0
mov ecx, esi
push eax
call fcn.0041cb30
mov esi, dword [ebp - 0x40]
mov ecx, eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x14
cmp esi, eax
je 0x40aac9
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x40aad3
mov eax, dword [edx]
mov ecx, edx
jmp 0x40aacf
test ecx, ecx
je 0x40aad3
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [esi]
lea ecx, [ebp - 0x28]
push 0x655057ff
call fcn.0041a7c0
push eax
mov ecx, esi
call fcn.0041c410
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
movss xmm0, dword [esi + 0x1bc]
movss xmm1, dword [esi + 0x1c0]
addss xmm0, xmm0
mov ecx, dword [esi + 0xc]
movss dword [ebp - 0x28], xmm1
addss xmm0, dword [esi + 0x24]
movss dword [ebp - 0x2c], xmm0
call fcn.0041cc40
movss xmm1, dword [esi + 0x1c0]
lea eax, [ebp - 0x2c]
addss xmm1, dword [esi + 0x28]
movss xmm0, dword [esi + 0x1bc]
mov ecx, dword [esi + 4]
push eax
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm1
call fcn.0041cc40
movss xmm0, dword [esi + 0x1bc]
lea eax, [ebp - 0x2c]
movss xmm1, dword [esi + 0x1c0]
addss xmm0, xmm0
mov ecx, dword [esi + 0x10]
push eax
movss dword [ebp - 0x28], xmm1
addss xmm0, dword [esi + 0x24]
movss dword [ebp - 0x2c], xmm0
call fcn.0041cc40
movss xmm1, dword [esi + 0x1c0]
lea eax, [ebp - 0x2c]
addss xmm1, dword [esi + 0x28]
movss xmm0, dword [esi + 0x1bc]
mov ecx, dword [edi]
push eax
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm1
call fcn.0041cc40
lea ecx, [ebp - 0x214]
call fcn.00421ae0
mov edi, eax
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 0x19
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ecx
movups xmm0, xmmword [edi + 0x24]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [edi + 0x34]
movups xmmword [esi + 0x7c], xmm0
movups xmm0, xmmword [edi + 0x44]
movups xmmword [esi + 0x8c], xmm0
movups xmm0, xmmword [edi + 0x54]
movups xmmword [esi + 0x9c], xmm0
mov al, byte [edi + 0x64]
mov byte [esi + 0xac], al
movups xmm0, xmmword [edi + 0x68]
movups xmmword [esi + 0xb0], xmm0
movups xmm0, xmmword [edi + 0x78]
movups xmmword [esi + 0xc0], xmm0
movups xmm0, xmmword [edi + 0x88]
movups xmmword [esi + 0xd0], xmm0
lea ecx, [esi + 0xf4]
movups xmm0, xmmword [edi + 0x98]
movups xmmword [esi + 0xe0], xmm0
mov al, byte [edi + 0xa8]
mov byte [esi + 0xf0], al
lea eax, [edi + 0xac]
push eax
call fcn.00438390
mov eax, dword [edi + 0xc4]
lea edx, [esi + 0x48]
mov dword [edx + 0xc4], eax
lea ecx, [edx + 0xe8]
mov eax, dword [edi + 0xc8]
mov dword [edx + 0xc8], eax
mov eax, dword [edi + 0xcc]
mov dword [edx + 0xcc], eax
mov eax, dword [edi + 0xd0]
mov dword [edx + 0xd0], eax
mov eax, dword [edi + 0xd4]
mov dword [edx + 0xd4], eax
mov eax, dword [edi + 0xd8]
mov dword [edx + 0xd8], eax
mov eax, dword [edi + 0xdc]
mov dword [edx + 0xdc], eax
mov eax, dword [edi + 0xe0]
mov dword [edx + 0xe0], eax
lea eax, [edi + 0xe8]
mov dword [ebp - 0x40], ecx
cmp ecx, eax
je 0x40ad08
call fcn.0040c090
mov edx, dword [ebp - 0x40]
lea ecx, [edi + 0xe8]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
lea edx, [esi + 0x48]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [edi + 0xf4]
add edi, 0xfc
mov dword [edx + 0xf4], eax
lea eax, [edx + 0xfc]
mov dword [ebp - 0x40], eax
cmp eax, edi
je 0x40ad58
mov ecx, eax
call fcn.0040c090
mov ecx, dword [ebp - 0x40]
lea edx, [esi + 0x48]
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x108]
mov dword [edx + 0x108], eax
movups xmm0, xmmword [ecx + 0x10c]
movups xmmword [edx + 0x10c], xmm0
mov al, byte [ecx + 0x11c]
mov byte [edx + 0x11c], al
mov eax, dword [ecx + 0x120]
mov ecx, dword [ecx + 0x124]
mov dword [edx + 0x124], ecx
lea ecx, [ebp - 0x214]
mov dword [edx + 0x120], eax
mov byte [ebp - 4], 0x14
call fcn.0040aef0
lea ecx, [ebp - 0xec]
call fcn.004202d0
lea edi, [esi + 0x170]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, edi
call fcn.004205c0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x14
call fcn.00420470
push str.Fonts_Minecraft.ttf
lea ecx, [ebp - 0x3c]
call fcn.004052c0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, edi
call fcn.00421330
test al, al
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x28]
sete al
mov byte [ebp - 0x21], al
cmp ecx, 0x10
jb 0x40ae35
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ae28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ae28
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c07a5
mov al, byte [ebp - 0x21]
add esp, 8
test al, al
je 0x40ae59
push 0x403fb0
push str.Font_load_error
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00403d50
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
lea ecx, [esi + 0x48]
call fcn.00422c10
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x40ae9b
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x40ae91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ae91
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c07a5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c0767
mov esp, ebp
pop ebp
ret 4