Function at 0x40e3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f962
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], 0x4e4a8c
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x4e4a8c
mov edx, dword [ebp + 8]
mov dword [edx + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], ebx
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], ebx
mov edx, dword [ebp + 8]
push ebp
or byte [ecx + 0x458b245a], cl
or byte [ecx + 0x4d8b2858], cl
or byte [ecx + 0x558b2c59], cl
or byte [ecx + 0x458b305a], cl
or byte [ecx + 0x4d8b3458], cl
or byte [ecx + 0x558b3c59], cl
or byte [ecx + 0x4d8b405a], cl
or byte [ebx + 0x45c644c1], al
cld
psubsb mm1, qword [esi]
sbb al, byte [ecx]
add byte [ebx - 0x3f7cf7bb], cl
push eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov byte [eax + 0x28], bl
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0x24
cmp eax, ebx
mov byte [ebp - 4], 0x10
je 0x40e482
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
cmp ecx, ebx
je 0x40e490
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
add esi, 0x2c
cmp eax, ebx
je 0x40e4a8
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi]
cmp ecx, ebx
je 0x40e4b6
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], ebx
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x44]
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x44
call dword [esi]
mov eax, dword [ebp + 8]
mov byte [eax + 0x98], bl
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add esi, 0x20
cmp eax, ebx
je 0x40e4f1
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
cmp ecx, ebx
je 0x40e4ff
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x28]
xor eax, eax
dec ecx
je 0x40e523
dec ecx
je 0x40e51c
dec ecx
jne 0x40e528
mov eax, 3
jmp 0x40e528
mov eax, 2
jmp 0x40e528
mov eax, 1
push eax
call fcn.0041e8a0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, dword [edx + 0x24]
mov eax, esp
lea edx, [ebp - 0x10]
push edx
mov dword [eax], ecx
call dword [sym.imp.GFXEngine.dll_class_core::ref_struct_FontMgr__struct_FontMgr____cdecl_createFontMgr_class_core::in_struct_GameFileSystem__]
add esp, 8
mov esi, eax
mov edi, dword [ebp + 8]
mov ecx, dword [esi]
push cs
add edi, 0x34
cmp ecx, ebx
mov byte [ebp - 4], 0x11
je 0x40e55e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi]
cmp ecx, ebx
je 0x40e569
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 0x10
je 0x40e57d
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx]
push str.fonts.xml
call dword [edx + 0x14]
push ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov edx, dword [ecx + 0x24]
mov eax, esp
mov dword [eax], edx
call fcn.00413560
push eax
lea eax, [ebp - 0x10]