Function at 0x510b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bcfd3
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1b4]
mov ebx, ecx
mov dword [esp + 0x54], ebx
call fcn.004999d0
lea ecx, [ebx + 0xc]
mov esi, eax
call fcn.0049a5a0
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebx
mov ecx, edi
mov dword [esp + 0x1b0], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.004d5280
push eax
mov ecx, esi
call fcn.004f0870
mov ecx, edi
mov ebp, eax
call fcn.004d51a0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
mov dword [esp + 0x28], edx
call fcn.004ddbc0
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x5c], eax
mov eax, 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 8
call fcn.00448e00
mov ecx, dword [esp + 0x68]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1b4], 1
call fcn.004d5c70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x8c]
push edx
push edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.0050b050
add esp, 0x10
mov eax, dword [esp + 0xa8]
mov edx, dword [eax]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call edx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x2c], eax
call fcn.004d5360
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004dda70
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x40]
push edx
call eax
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], 2
call fcn.00405040
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x1ac], 1
cmp eax, ebx
je 0x510da1
mov ebp, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x510da1
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
lea eax, [ebp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x510da1
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1ac], bl
call fcn.004483a0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x510f0b
push 1
push 0x3f
push str..graphics_fonttexturemanager.cpp
lea ecx, [esp + 0xfc]
call fcn.004e3750
push 0x17
push 0x5d65c4
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1b4], 3
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00401db0
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x1b4], 4
call fcn.00495c50
push eax
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x1bc], 5
call fcn.00496550
add esp, 0x10
cmp dword [esp + 0x50], 4
jb 0x510e50
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x50], 3
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x1ac], 3
jb 0x510e82
mov edx, dword [esp + 0x88]
push edx
call fcn.0058984a
add esp, 4
push ebx
lea ecx, [esp + 0xf4]
call fcn.004e38c0
lea ecx, [esp + 0x16c]
mov byte [esp + 0x1ac], bl
call fcn.00401f70
lea eax, [esp + 0x16c]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x1ac], 0xffffffff
cmp esi, ebx
je 0x51107c
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x51107c
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 0x51107c
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x51107c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x510f2f
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, esi
mov byte [esp + 0x1ac], 7
call fcn.004dda70
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push ebx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b0], 8
call fcn.00405040
mov eax, dword [esp + 0x30]
mov byte [esp + 0x1ac], 7
cmp eax, ebx
je 0x510fa9
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x510fa9
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 0x510fa9
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x1ac], 6
cmp esi, ebx
je 0x510fe3
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x510fe3
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 0x510fe3
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, edi
call fcn.004d5280
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x68]
call fcn.0049a660
mov esi, dword [esp + 0x28]
mov byte [esp + 0x1ac], bl
cmp esi, ebx
je 0x51103f
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x51103f
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 0x51103f
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1ac], 0xffffffff
cmp esi, ebx
je 0x51107c
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x51107c
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 0x51107c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.00589f78
add esp, 0x19c
ret 4