Function at 0x48b7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc0]
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
push edi
push 2
mov ecx, esi
call edx
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
xor ebp, ebp
mov edi, 0x280
mov ebx, 0x3c0
push 3
mov ecx, esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0x1e0
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
call edx
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
push 5
mov ecx, esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0x1e0
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
call edx
mov dword [esp + 0x88], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
push 5
mov ecx, esi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
call edx
mov dword [esp + 0xa4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
push ebp
mov ecx, esi
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], 0x500
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0x78], 0x5a0
mov dword [esp + 0x94], 0x780
mov dword [esp + 0xb0], 0xb40
call edx
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
mov ecx, esi
call edx
test eax, eax
je 0x48baa6
cmp dword [0x514f58], 1
mov esi, dword [esi + 0x54]
jne 0x48b91c
call dword [0x4c91ac]
jmp 0x48b922
call dword [0x4c936c]
mov dword [esi + 0xa4], eax
lea esi, [esp + 0x5c]
mov dword [esp + 0x1c], 4
jmp 0x48b93b
mov edi, 0x280
mov eax, dword [esi - 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add ecx, eax
mov dword [esp + 0x48], edi
mov edi, dword [esi - 4]
mov dword [esp + 0x30], eax
add edx, edi
lea eax, [esp + 0x40]
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], edx
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], 0x1e0
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call dword [0x4c929c]
lea eax, [esp + 0x20]
push eax
call dword [0x4c9298]
test eax, eax
jne 0x48b9e1
mov edx, dword [ebx]
mov ecx, dword [esi + 0xc]
sub ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ebx, dword [esi + 8]
sub ebx, dword [esp + 0x30]
push 1
mov edx, dword [edx + 0x44]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
add ebx, ecx
push ebx
mov ebx, dword [esi - 0xc]
push ebx
mov ebx, dword [esp + 0x3c]
sub ebx, eax
push ebx
mov ebx, dword [esp + 0x3c]
sub ebx, ecx
push ebx
mov ebx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, ebx
call edx
add edi, 0xffffffff
mov dword [esi - 4], edi
add esi, 0x1c
sub dword [esp + 0x1c], 1
jne 0x48b936
mov ecx, dword [0x514e34]
cmp ecx, ebp
jne 0x48ba37
push 0x18
call fcn.004ae2dd
add esp, 4
cmp eax, ebp
je 0x48ba29
mov ecx, 1
mov dword [eax], vtable.CDrawManager2D.0
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ebp
jmp 0x48ba2b
xor eax, eax
mov ecx, eax
cmp ecx, ebp
mov dword [0x514e34], ecx
je 0x48ba4a
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0x258
push 0x320
push ebp
push ebp
call edx
mov esi, dword [esp + 0xc4]
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
push 0x102
mov ecx, esi
call edx
test eax, eax
jne 0x48ba8b
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
push 0x101
mov ecx, esi
call edx
test eax, eax
push 1
push 0x20
jne 0x48bb4a
mov edi, dword [esi + 0x54]
call fcn.00406fb0
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 0xea0
mov dword [esp + 0x18], eax
mov edi, 0x280
jl 0x48b8f7
mov eax, dword [ebx]
mov edx, dword [eax + 0x74]
push 1
push 0xff000000
push 0x1e0
push edi
push ebp
push ebp
mov ecx, ebx
call edx
mov edx, dword [esi]
mov eax, dword [ebx]
mov edx, dword [edx + 0xac]
push 1
push 0x360
push edi
push 5
mov ecx, esi
mov dword [esp + 0x24], eax
call edx
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x44]
push 0x1a0
push 0x280
push ebp
push ebp
mov ecx, ebx
call eax
mov ecx, dword [0x514e34]
cmp ecx, ebp
jne 0x48bb34
push 0x18
call fcn.004ae2dd
add esp, 4
cmp eax, ebp
je 0x48bb26
mov ecx, 1
mov dword [eax], vtable.CDrawManager2D.0
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ebp
jmp 0x48bb28
xor eax, eax
mov ecx, eax
cmp ecx, ebp
mov dword [0x514e34], ecx
je 0x48bb47
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x258
push 0x320
push ebp
push ebp
call eax
push ebp
push 0x40
mov ebx, esi
call fcn.0048bb60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4