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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f7ce0
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x14]
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
je 0x469e3e
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_WindowFromDC]
push eax
call fcn.004c7c6e
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], ecx
mov ecx, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00469620
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], edi
add ecx, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x8c], ecx
jmp 0x4698cf
xor edi, edi
xor bl, bl
xor ebp, ebp
mov dword [esp + 0x24], edi
xor ecx, ecx
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + edi*4 + 4]
mov edx, edi
dec edx
je 0x469901
dec edx
je 0x4698f7
dec edx
jne 0x469912
test bl, bl
je 0x469912
mov ebp, eax
jmp 0x469912
test bl, bl
je 0x469912
mov dword [esp + 0x24], eax
jmp 0x469912
test eax, eax
mov ecx, eax
jl 0x469912
cmp dword [esp + 0x9c], eax
jne 0x469912
mov bl, 1
inc edi
cmp edi, 6
jl 0x4698d9
test bl, bl
je 0x4699e7
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x94]
cmp ebx, eax
jg 0x4699e7
cmp ebp, eax
jg 0x4699e7
cmp ebx, ebp
jge 0x46997d
mov edx, dword [esp + 0x10]
lea eax, [ecx + ecx*2]
shl eax, 7
add edx, eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x18]
dec ecx
mov dword [esi + eax*4 + 0x1f24], ebx
cmp ecx, edx
mov dword [esi + eax*4 + 0x2124], ebp
jne 0x469977
mov dword [esi + eax*4 + 0x2324], 1
inc dword [esp + 0x10]
jmp 0x4699e7
jle 0x4699e7
mov edi, dword [esp + 0x10]
lea eax, [ecx + ecx*2]
shl eax, 7
mov edx, dword [esp + 0xa8]
add eax, ecx
dec edx
lea ecx, [eax + edi]
mov dword [esi + ecx*4 + 0x1f24], 0
mov dword [esi + ecx*4 + 0x2124], ebp
mov ebp, dword [esp + 0x18]
cmp edx, ebp
jne 0x4699bb
mov dword [esi + ecx*4 + 0x2324], 1
mov ecx, dword [esp + 0x94]
inc edi
add eax, edi
cmp edx, ebp
mov dword [esi + eax*4 + 0x1f24], ebx
mov dword [esi + eax*4 + 0x2124], ecx
jne 0x4699e2
mov dword [esi + eax*4 + 0x2324], 1
inc edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x8c]
inc eax
add edx, 0x24
cmp eax, 0x40
mov dword [esp + 0x18], eax
mov dword [esp + 0x8c], edx
jl 0x4698cd
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.004695f0
fild dword [0x544718]
mov ecx, dword [eax]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x44], ecx
mov ebp, ecx
fidiv dword [esp + 0x94]
mov eax, dword [eax + 4]
sub eax, edx
mov edx, dword [0x544718]
add edx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], edx
mov edx, dword [0x54471c]
add edx, eax
mov edi, eax
mov eax, dword [0x5a4404]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], eax
fstp qword [esp + 0x24]
mov dword [esp + 0x84], 0
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x9c]
mov byte [esp + 0x84], 1
test ebx, ebx
jl 0x469ac9
cmp ebx, 7
jg 0x469ac9
lea eax, [esp + 0x94]
push 0x1196
push eax
call fcn.00401930
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 2
call fcn.004c66f3
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x94]
jmp 0x469aff
lea ecx, [esp + 0x94]
push 0x1195
push ecx
call fcn.00401930
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 3
call fcn.004c66f3
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x94]
call fcn.004c65ba
lea edx, [esp + 0x94]
push 0x14bd
push edx
call fcn.00401930
add esp, 8
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
push ebx
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x94], 4
call fcn.004c0067
add esp, 0x10
lea ecx, [esp + 0x94]
mov byte [esp + 0x84], 1
call fcn.004c65ba
mov eax, dword [0x5ac278]
sub ebp, 0x87
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x54471c]
cdq
sub eax, edx
lea edx, [esp + 0x44]
sar ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x2c]
add edi, eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004692f0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004692f0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [0x54472c]
mov eax, dword [0x544728]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x78]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.00468930
cmp dword [esp + 0x38], edi
jge 0x469ca0
mov edx, dword [esp + 0x30]
add edx, 0xffffffe7
cmp edi, edx
jge 0x469ca0
mov eax, dword [esp + 0xa4]
push ebx
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.00469e60
add esp, 0xc
push 0x589768
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 5
call fcn.004c6996
lea edx, [esp + 0x94]
lea ecx, [esp + 0x14]
push edx
call fcn.004c69d2
mov eax, dword [0x5ac298]
push edi
push ebp
push eax
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xb8], esp
push edx
call fcn.004c632f
mov eax, dword [esp + 0xa0]
mov ecx, esi
push eax
call fcn.00468f40
lea ecx, [esp + 0x94]
mov byte [esp + 0x84], 1
call fcn.004c65ba
lea ecx, [ebx + ebx*2]
xor ebp, ebp
shl ecx, 7
add ecx, ebx
lea ebx, [esi + ecx*4 + 0x2124]
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.004695f0
fild dword [esp + 0x18]
fild dword [ebx - 0x200]
fmul qword [esp + 0x24]
fadd st(1)
call fcn.004a7884
fild dword [ebx]
mov edi, eax
mov dword [esp + 0x44], edi
fmul qword [esp + 0x24]
fadd st(1)
call fcn.004a7884
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x98]
sub ecx, edx
mov edx, dword [0x54471c]
add ecx, edx
cmp edi, eax
fstp st(0)
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
je 0x469e0c
test edi, edi
jl 0x469e0c
mov eax, dword [esp + 0x48]
test eax, eax
jl 0x469e0c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.004692f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.004692f0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
lea edx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x9c]
mov edx, ebp
lea ecx, [eax + eax*2]
shl ecx, 7
add edx, ecx
add eax, edx
mov ecx, dword [esi + eax*4 + 0x2324]
mov eax, dword [0x54472c]
test ecx, ecx
push eax
jne 0x469dd8
mov ecx, dword [0x544720]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x58]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0xa8]
push edx
jmp 0x469e05
mov edx, dword [esp + 0x50]
push 0x46fafa
mov eax, dword [esp + 0x58]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.00468930
inc ebp
add ebx, 4
cmp ebp, 0x40
jl 0x469cb1
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0
call fcn.004c65ba
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 0xffffffff
call fcn.004c65ba
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 0x20