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

Disassembly:
push 0xffffffffffffffff
push 0x4b8a01
mov eax, dword fs:[0]
push eax
mov eax, 0x1fbc
call fcn.0048cd00
mov eax, dword [0x57e030]
xor eax, esp
mov dword [esp + 0x1fb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x1fd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1fe0]
mov ebp, dword [esp + 0x1fe4]
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], vtable.Rect.0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
xor eax, eax
mov dword [esp + 0x1fd8], edi
xor esi, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov word [esp + 0x48], ax
mov dword [esp + 0x28], vtable.FrameBuffer.0
mov dword [esp + 0x2c], vtable.Dimension.0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov word [esp + 0x48], ax
mov byte [esp + 0x1fd8], 1
push 0x400
lea eax, [esp + 0xdcc]
xor ecx, ecx
xor edx, edx
push edi
push eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], edi
mov byte [esp + 0x2f], 0
mov byte [esp + 0x27], 0
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov word [esp + 0xc4], cx
mov word [esp + 0xc6], dx
mov dword [esp + 0xc8], edi
mov dword [esp + 0x5cc], 0x34
mov dword [esp + 0x5d0], edi
call fcn.00483dc0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x70], ecx
jge 0x473334
jmp 0x472ffa
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x10]
cmp eax, edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x78], eax
jl 0x473010
mov dword [esp + 0x78], edx
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 0xc]
cmp esi, eax
mov dword [esp + 0x6c], esi
jge 0x473321
mov ebp, dword [esp + 0x78]
sub ebp, ecx
mov dword [esp + 0x5c], ebp
jmp 0x473034
mov ebp, dword [esp + 0x5c]
lea edi, [esi + 0x10]
cmp eax, edi
mov dword [esp + 0x84], edi
jge 0x473044
mov edi, eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x90]
push eax
mov ecx, ebx
mov dword [esp + 0x78], edi
call edx
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], edx
mov ax, word [eax + 0x10]
mov word [esp + 0x48], ax
mov eax, dword [esp + 0x4c]
sub edi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
test eax, eax
je 0x473098
push eax
call fcn.00481b5a
add esp, 4
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x68]
lea ecx, [esp + 0x28]
call eax
push eax
call fcn.00481b4f
mov dword [esp + 0x50], eax
add esp, 4
lea eax, [esp + 0x90]
lea ecx, [esp + 0x2c]
call fcn.00415520
mov byte [esp + 0x1fd8], 2
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
push ecx
push esi
push ebx
push eax
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x38]
call eax
mov byte [esp + 0x1fd8], 1
mov eax, dword [esp + 0x4c]
lea esi, [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ebp
call fcn.00473c60
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov ebx, eax
mov dword [esp + 0x80], ecx
test al, 1
jne 0x47328d
imul ebp, edi
add ebp, ebp
cmp ecx, ebp
jae 0x47328d
cmp byte [esp + 0x23], 0
mov cx, word [esp + 0xb8]
movzx edx, cx
mov dword [esp + 0x88], edx
mov dword [esp + 0x60], 0
je 0x473164
cmp word [esp + 0x58], cx
je 0x473175
or eax, 2
mov ebx, eax
movzx eax, cx
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 1
test bl, 8
je 0x4731c5
test bl, 0x10
je 0x473186
mov byte [esp + 0x1b], 0
jmp 0x4731b2
cmp byte [esp + 0x1b], 0
mov ax, word [esp + 0xba]
movzx ecx, ax
mov dword [esp + 0x60], ecx
je 0x4731a3
cmp word [esp + 0x64], ax
je 0x4731b2
movzx edx, ax
or ebx, 4
mov dword [esp + 0x64], edx
mov byte [esp + 0x1b], 1
lea eax, [esp + 0x1dcc]
lea esi, [esp + 0xa4]
call fcn.004738b0
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
mov byte [esp + 0x1c], bl
xor esi, esi
mov edi, 1
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x20]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, 1
jb 0x4731d7
test bl, 2
je 0x47321f
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, 2
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x8c]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, 2
jb 0x473203
test bl, 4
je 0x47324b
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, 2
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x64]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, 2
jb 0x473232
test bl, 8
je 0x4732f6
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, ebx
test ebx, ebx
jbe 0x4732f6
mov edi, edi
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x1dd0]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, ebx
jb 0x473270
jmp 0x4732f6
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 8]
mov byte [esp + 0x1c], 1
xor esi, esi
mov ebp, 1
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebp
lea eax, [esp + esi + 0x20]
push eax
call edx
add esi, eax
sub ebp, eax
cmp esi, 1
jb 0x4732a0
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
imul esi, edi
mov ebx, dword [eax + 8]
add esi, esi
mov edi, 0
mov ebp, esi
je 0x4732ec
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebp
add eax, edi
push eax
call edx
add edi, eax
sub ebp, eax
cmp edi, esi
jb 0x4732d2
mov byte [esp + 0x1b], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
cmp esi, eax
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], esi
jl 0x473030
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x8c]
xor edi, edi
mov eax, dword [ebp + 0x10]
cmp edx, eax
mov dword [esp + 0x70], edx
jl 0x472ff6
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x28], vtable.FrameBuffer.0
cmp esi, edi
je 0x473349
push esi
call fcn.00481b5a
add esp, 4
mov ecx, dword [esp + 0x1fd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1fb8]
xor ecx, esp
call fcn.004807f8
add esp, 0x1fc8
ret 8