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

Disassembly:
push 0xffffffffffffffff
push 0x4b8a51
mov eax, dword fs:[0]
push eax
mov eax, 0x1dac
call fcn.0048cd00
mov eax, dword [0x57e030]
xor eax, esp
mov dword [esp + 0x1da8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x1dc0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1dd0]
mov ebp, dword [esp + 0x1dd4]
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], vtable.Rect.0
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
xor eax, eax
mov dword [esp + 0x1dc8], 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 + 0x1dc8], 1
push 0x400
lea ecx, [esp + 0xcbc]
push edi
push ecx
mov byte [esp + 0x2e], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x27], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov byte [esp + 0xb4], 0
mov byte [esp + 0xb5], 0
mov dword [esp + 0xb8], edi
mov dword [esp + 0x4bc], 0x32
mov dword [esp + 0x4c0], edi
call fcn.00483dc0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x64], ecx
jge 0x472e5c
jmp 0x472b38
mov ecx, dword [esp + 0x64]
lea edx, [ecx + 0x10]
cmp eax, edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
jl 0x472b4b
mov dword [esp + 0x6c], edx
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 0xc]
cmp esi, eax
mov dword [esp + 0x60], esi
jge 0x472e49
mov ebp, dword [esp + 0x6c]
sub ebp, ecx
mov dword [esp + 0x58], ebp
jmp 0x472b74
mov ebp, dword [esp + 0x58]
lea edi, [esi + 0x10]
cmp eax, edi
mov dword [esp + 0x78], edi
jge 0x472b81
mov edi, eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
mov dword [esp + 0x6c], 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 0x472bd5
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 + 0x80]
lea ecx, [esp + 0x2c]
call fcn.00415520
mov byte [esp + 0x1dc8], 2
mov ecx, dword [esp + 0x64]
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 + 0x1dc8], 1
mov eax, dword [esp + 0x4c]
lea esi, [esp + 0x94]
mov dword [esp + 0x74], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebp
call fcn.00473960
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov ebx, eax
mov dword [esp + 0x7c], ecx
test al, 1
jne 0x472dbd
imul ebp, edi
cmp ecx, ebp
jae 0x472dbd
cmp byte [esp + 0x1b], 0
mov cl, byte [esp + 0xa8]
mov byte [esp + 0x23], cl
mov byte [esp + 0x20], 0
je 0x472c91
cmp byte [esp + 0x22], cl
je 0x472c9f
or eax, 2
mov ebx, eax
mov byte [esp + 0x22], cl
mov byte [esp + 0x1b], 1
test bl, 8
je 0x472ce7
test bl, 0x10
je 0x472cb0
mov byte [esp + 0x1a], 0
jmp 0x472cd4
cmp byte [esp + 0x1a], 0
mov al, byte [esp + 0xa9]
mov byte [esp + 0x20], al
je 0x472cc8
cmp byte [esp + 0x21], al
je 0x472cd4
or ebx, 4
mov byte [esp + 0x21], al
mov byte [esp + 0x1a], 1
lea eax, [esp + 0x1cbc]
lea ecx, [esp + 0x94]
call fcn.00473860
mov ecx, dword [esp + 0x24]
mov ebp, dword [ecx + 8]
mov byte [esp + 0x1c], bl
xor esi, esi
mov edi, 1
lea esp, [esp]
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 0x472d00
test bl, 2
je 0x472d49
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, 1
lea esp, [esp]
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x27]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, 1
jb 0x472d30
test bl, 4
je 0x472d79
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, 1
lea esp, [esp]
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x24]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, 1
jb 0x472d60
test bl, 8
je 0x472e24
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, ebx
test ebx, ebx
jbe 0x472e24
lea esp, [esp]
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x1cc0]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, ebx
jb 0x472da0
jmp 0x472e24
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 0x472dd0
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
imul esi, edi
mov ebx, dword [eax + 8]
xor edi, edi
mov ebp, esi
test esi, esi
jbe 0x472e1a
nop
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x74]
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 0x472e00
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x78]
mov eax, dword [eax + 0xc]
cmp esi, eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x60], esi
jl 0x472b70
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
xor edi, edi
mov eax, dword [ebp + 0x10]
cmp edx, eax
mov dword [esp + 0x64], edx
jl 0x472b34
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x28], vtable.FrameBuffer.0
cmp esi, edi
je 0x472e71
push esi
call fcn.00481b5a
add esp, 4
mov ecx, dword [esp + 0x1dc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1da8]
xor ecx, esp
call fcn.004807f8
add esp, 0x1db8
ret 8