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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x66]
push esi
xor esi, esi
cmp ecx, esi
push edi
jle 0x47374a
mov edi, dword [ebx + 4]
cmp edi, esi
jle 0x47374a
mov eax, dword [ebx + 0x62]
imul eax, ecx
cdq
mov ecx, eax
mov eax, edx
mov dword [esp + 0x10], eax
mov eax, edi
cdq
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.006b2550
imul eax, dword [ebp + 0xc]
cdq
mov ecx, eax
mov eax, dword [ebx + 0x66]
mov edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.006b2550
mov dword [ebx + 0x62], eax
mov eax, dword [ebp + 0x10]
fild dword [ebx + 0x1e]
cdq
and edx, 7
add eax, edx
mov edx, dword [ebx + 0x1e]
sar eax, 3
sub eax, 2
test edx, edx
mov dword [esp + 0xc], eax
jge 0x47376d
fadd dword [0x7236cc]
mov eax, dword [ebx + 0x22]
fild dword [ebx + 0x22]
test eax, eax
jge 0x47377d
fadd dword [0x7236cc]
fdivp st(1)
fimul dword [esp + 0xc]
call fcn.006b24a0
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
idiv ecx
mov dword [esp + 0x1c], ecx
lea edi, [eax + 1]
cmp dword [ebx + 0x87], edi
mov dword [esp + 0x14], edi
jne 0x4737cf
mov eax, dword [ebx + 0x83]
cmp dword [eax + 0x40], esi
je 0x4737cf
cmp dword [eax], 0xffffffff
je 0x4737cf
mov edx, dword [eax + 4]
cmp edx, esi
jle 0x4737cf
mov eax, dword [eax + 8]
cmp eax, esi
jle 0x4737cf
cmp edx, ecx
jne 0x4737cf
cmp eax, dword [esp + 0xc]
je 0x473b54
lea eax, [ebx + 0x83]
push eax
call fcn.004882f0
or ecx, 0xffffffff
mov eax, 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0xc8], ecx
xor ecx, ecx
cmp edi, esi
mov dword [ebx + 0x87], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0x10], 0x6dbbf0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], esi
jle 0x473b27
mov eax, edi
cdq
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0x6a]
mov edi, dword [eax]
mov eax, dword [ebx + 0x66]
add ecx, 1
imul eax, ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
cdq
push ecx
push edx
push eax
call fcn.006b2550
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x6a]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push 0x3e8
lea edx, [esp + 0x74]
push edx
lea edx, [esp + 0x18]
push edx
call eax
mov eax, dword [esp + 0x78]
cmp eax, esi
jg 0x47397c
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
cmp ecx, esi
jg 0x473988
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov edi, 1
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call fcn.004d4360
mov eax, dword [esp + 0x20]
cmp eax, 8
jl 0x4739e4
cmp eax, 0xa
jle 0x473a06
cmp eax, 0xc
ja 0x4739f0
call fcn.004981b0
jmp 0x4739f2
xor eax, eax
mov ecx, dword [esp + 0x24]
imul ecx, eax
shr ecx, 3
add ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xcc]
push eax
call fcn.004d22f0
cmp dword [esp + 0xb0], esi
je 0x473a34
cmp dword [esp + 0x70], 0xffffffff
je 0x473a34
cmp dword [esp + 0x74], esi
jle 0x473a34
cmp dword [esp + 0x78], esi
jg 0x473a4d
sub esp, 8
mov eax, esp
mov dword [eax], esi
mov byte [eax + 4], 0xff
lea eax, [esp + 0xd0]
call fcn.004cd170
jmp 0x473a5d
lea edx, [esp + 0x70]
lea ecx, [esp + 0xc8]
call fcn.004d6750
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call fcn.004d4360
mov eax, dword [esp + 0x20]
cmp eax, 8
jl 0x473abc
cmp eax, 0xa
jle 0x473ade
cmp eax, 0xc
ja 0x473ac8
call fcn.004981b0
jmp 0x473aca
xor eax, eax
mov ecx, dword [esp + 0x24]
imul ecx, eax
shr ecx, 3
add ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0x3c], ecx
mov eax, dword [ebx + 0x83]
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
add eax, edi
push eax
call fcn.004d22f0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x83]
push ecx
add eax, edi
push edx
push eax
lea edi, [esp + 0xd4]
call fcn.004d8510
mov ecx, dword [esp + 0x60]
add dword [esp + 0x18], 0x50
cmp ecx, dword [esp + 0x14]
jl 0x473924
mov ebx, dword [ebx + 0xc]
cmp ebx, esi
je 0x473b37
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0xc8]
call fcn.004d0c50
lea ecx, [esp + 0x70]
mov dword [esp + 0x10], 0x70c5e4
call fcn.004d0c50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc