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

Disassembly:
push 0xffffffffffffffff
push 0x4b89b1
mov eax, dword fs:[0]
push eax
mov eax, 0x23bc
call fcn.0048cd00
mov eax, dword [0x57e030]
xor eax, esp
mov dword [esp + 0x23b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x23d0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x23e0]
mov ebp, dword [esp + 0x23e4]
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 + 0x23d8], 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 + 0x23d8], 1
push 0x400
lea ecx, [esp + 0xfd0]
push edi
push ecx
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 dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x7d0], 0x38
mov dword [esp + 0x7d4], 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 0x473815
jmp 0x4734d4
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x10]
cmp eax, edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x78], eax
jl 0x4734ea
mov dword [esp + 0x78], edx
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 0xc]
cmp esi, eax
mov dword [esp + 0x6c], esi
jge 0x473802
mov ebp, dword [esp + 0x78]
sub ebp, ecx
mov dword [esp + 0x5c], ebp
jmp 0x473514
mov ebp, dword [esp + 0x5c]
lea edi, [esi + 0x10]
cmp eax, edi
mov dword [esp + 0x84], edi
jge 0x473524
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 0x473578
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 + 0x23d8], 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 + 0x23d8], 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.00473fb0
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov ebx, eax
mov dword [esp + 0x80], ecx
test al, 1
jne 0x47376d
imul ebp, edi
add ebp, ebp
add ebp, ebp
cmp ecx, ebp
jae 0x47376d
cmp byte [esp + 0x23], 0
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x60], 0
je 0x473641
cmp dword [esp + 0x58], ecx
je 0x47364f
or eax, 2
mov ebx, eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x23], 1
test bl, 8
je 0x473697
test bl, 0x10
je 0x473660
mov byte [esp + 0x1b], 0
jmp 0x473684
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x60], eax
je 0x473678
cmp dword [esp + 0x64], eax
je 0x473684
or ebx, 4
mov dword [esp + 0x64], eax
mov byte [esp + 0x1b], 1
lea eax, [esp + 0x1fcc]
lea ecx, [esp + 0xa4]
call fcn.00473900
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 0x4736b0
test bl, 2
je 0x4736fc
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, 4
lea esp, [esp]
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, 4
jb 0x4736e0
test bl, 4
je 0x473729
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 8]
xor esi, esi
mov edi, 4
nop
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, 4
jb 0x473710
test bl, 8
je 0x4737d7
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 0x4737d7
lea esp, [esp]
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push edi
lea eax, [esp + esi + 0x1fd0]
push eax
call edx
add esi, eax
sub edi, eax
cmp esi, ebx
jb 0x473750
jmp 0x4737d7
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 0x473780
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
imul esi, edi
mov ebx, dword [eax + 8]
add esi, esi
add esi, esi
xor edi, edi
mov ebp, esi
test esi, esi
jbe 0x4737cd
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 0x4737b3
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 0x473510
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 0x4734d0
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x28], vtable.FrameBuffer.0
cmp esi, edi
je 0x47382a
push esi
call fcn.00481b5a
add esp, 4
mov ecx, dword [esp + 0x23d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23b8]
xor ecx, esp
call fcn.004807f8
add esp, 0x23c8
ret 8