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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, 0x186a0
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov eax, 0xfffe7960
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
cmp eax, 1
mov ebx, ecx
mov dword [esp + 0xc], edi
jne 0x44e757
lea esi, [ebx + 0x2bfe8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], esi
cmp dword [ebx + 0xe70], 3
jne 0x44e57c
mov eax, dword [ebx + 0x19c98]
push esi
lea edx, [esp + 0xbc]
lea eax, [eax + eax*8]
lea ecx, [ebx + eax*8 + 0xe78]
push ecx
push edx
call fcn.00451fc0
fild dword [ebx + 0x1a0d8]
mov ecx, 6
mov esi, eax
mov eax, dword [ebx + 0x19c98]
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x64]
lea ecx, [eax + eax*2]
lea edx, [eax + eax*2 + 0x21cf]
fadd qword [ebx + ecx*8 + 0x10e68]
lea ecx, [ebx + ecx*8]
fdiv st(1)
fstp qword [esp + 0xac]
fld qword [esp + 0x6c]
fadd qword [ecx + 0x10e70]
mov ecx, dword [esp + 0x28]
add ecx, 0x18
fdiv st(1)
push ecx
lea ecx, [esp + 0xe0]
fstp qword [esp + 0xb8]
fld qword [esp + 0x78]
fadd qword [ebx + edx*8]
lea edx, [eax + eax*8]
fdiv st(1)
lea eax, [ebx + edx*8 + 0xe78]
push eax
push ecx
fstp qword [esp + 0xc8]
fstp st(0)
call fcn.00451fc0
fild dword [ebx + 0x1a0d8]
mov esi, eax
mov eax, dword [ebx + 0x19c98]
mov ecx, 6
lea edi, [esp + 0x70]
lea edx, [eax + eax*2]
lea eax, [eax + eax*2 + 0x21cf]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x70]
fadd qword [ebx + edx*8 + 0x10e68]
lea ecx, [ebx + edx*8]
add esp, 0x18
fdiv st(1)
lea edx, [esp + 0x50]
fstp qword [esp + 0x88]
fld qword [esp + 0x60]
fadd qword [ecx + 0x10e70]
lea ecx, [esp + 0x80]
push ecx
push edx
fdiv st(1)
lea ecx, [esp + 0xa8]
fstp qword [esp + 0x98]
fld qword [esp + 0x70]
fadd qword [ebx + eax*8]
lea eax, [esp + 0x90]
push eax
push ecx
fdiv st(1)
lea ecx, [ebx + 0x2bde8]
fstp qword [esp + 0xa8]
fstp st(0)
call fcn.00451c60
test eax, eax
je 0x44e556
mov ecx, dword [ebx + 0x1a11c]
mov esi, dword [esp + 0x50]
mov eax, dword [ebx + 0x1a120]
mov edi, dword [esp + 0x54]
lea edx, [ecx + esi]
mov dword [esp + 0x48], edx
mov edx, eax
sub edx, edi
mov edi, dword [esp + 0x80]
add ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
cmp eax, esi
jl 0x44e4ad
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jl 0x44e4bd
mov dword [esp + 0x24], eax
cmp dword [esp + 0x28], esi
jg 0x44e4c7
mov dword [esp + 0x28], esi
cmp dword [esp + 0x20], eax
jg 0x44e4d1
mov dword [esp + 0x20], eax
mov ecx, dword [ebx + 0x19c98]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
mov esi, 1
lea ecx, [eax + ecx*4]
mov dword [esp + 0xc], esi
lea ecx, [ecx + ecx*4]
mov dword [ebx + ecx*4 + 0x1a188], edi
mov ecx, dword [ebx + 0x19c98]
mov edi, dword [esp + 0x38]
lea ecx, [eax + ecx*4]
lea ecx, [ecx + ecx*4]
mov dword [ebx + ecx*4 + 0x1a18c], edx
mov edx, dword [ebx + 0x19c98]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov dword [ebx + ecx*4 + 0x1a190], edx
mov ecx, dword [ebx + 0x19c98]
lea ecx, [eax + ecx*4 + 0x14e1]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x30]
mov dword [ebx + edx*4], ecx
mov edx, dword [ebx + 0x19c98]
lea eax, [eax + edx*4]
lea eax, [eax + eax*4]
mov dword [ebx + eax*4 + 0x1a198], esi
mov esi, dword [esp + 0x1c]
jmp 0x44e740
mov ecx, dword [ebx + 0x19c98]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov edi, edx
lea eax, [edx + ecx*4]
lea eax, [eax + eax*4]
mov dword [ebx + eax*4 + 0x1a198], 0
jmp 0x44e740
mov eax, dword [ebx + 0x19c98]
fld qword [ebx + eax*8 + 0x163b8]
fmul qword [0x485130]
lea ecx, [eax + eax*2]
fld st(0)
fcos
lea eax, [ebx + ecx*8]
fstp qword [esp + 0x10]
fsin
fld qword [esp + 0x10]
fmul qword [esi]
fld st(1)
fmul qword [esi + 8]
fsubp st(1)
fadd qword [eax + 0x10e68]
fstp qword [esp + 0x30]
mov edx, dword [esp + 0x34]
fld st(0)
fmul qword [esi]
fld qword [esp + 0x10]
fmul qword [esi + 8]
push edx
faddp st(1)
fadd qword [eax + 0x10e70]
fstp qword [esp + 0x4c]
fld qword [esp + 0x14]
fmul qword [esi + 0x18]
fld st(1)
fmul qword [esi + 0x20]
fsubp st(1)
fadd qword [eax + 0x10e68]
fstp qword [esp + 0x3c]
fmul qword [esi + 0x18]
fld qword [esp + 0x14]
fmul qword [esi + 0x20]
faddp st(1)
fadd qword [eax + 0x10e70]
mov eax, dword [esp + 0x34]
push eax
fstp qword [esp + 0x48]
call fcn.00450920
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov dword [esp + 0x2c], eax
call fcn.00450920
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
call fcn.00450920
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.00450920
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x1a11c]
add eax, ecx
mov ecx, dword [ebx + 0x1a120]
mov dword [esp + 0x68], eax
mov eax, ecx
sub eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x1a11c]
add edx, eax
mov eax, dword [esp + 0x50]
add esp, 0x20
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x2c], eax
jl 0x44e690
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x24], ecx
jl 0x44e69e
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x28], eax
jg 0x44e6a8
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], ecx
jg 0x44e6b2
mov dword [esp + 0x20], ecx
mov eax, dword [ebx + 0x19c98]
mov dword [esp + 0xc], 1
lea eax, [edi + eax*4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x48]
mov dword [ebx + ecx*4 + 0x1a188], eax
mov ecx, dword [ebx + 0x19c98]
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
mov dword [ebx + eax*4 + 0x1a18c], ecx
mov eax, dword [ebx + 0x19c98]
lea eax, [edi + eax*4]
lea ecx, [eax + eax*4]
mov dword [ebx + ecx*4 + 0x1a190], edx
mov edx, dword [ebx + 0x19c98]
mov ecx, dword [esp + 0x30]
lea eax, [edi + edx*4 + 0x14e1]
lea eax, [eax + eax*4]
mov dword [ebx + eax*4], ecx
mov edx, dword [ebx + 0x19c98]
lea eax, [edi + edx*4]
lea eax, [eax + eax*4]
mov dword [ebx + eax*4 + 0x1a198], 1
mov eax, dword [ebx + 0x19c98]
lea ecx, [eax + eax*4]
shl ecx, 4
mov dword [ecx + ebx + 0x1a1d4], 0
inc edi
add esi, 0x30
cmp edi, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], esi
jl 0x44e32b
jmp 0x44e7c5
mov eax, dword [ebx + 0x19c98]
mov esi, 4
lea edx, [eax + eax*4]
shl edx, 4
lea edx, [edx + ebx + 0x1a188]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x44e7bf
mov ecx, dword [edx]
mov edi, dword [ebx + 0x1a11c]
mov eax, dword [esp + 0x2c]
sub ecx, edi
cmp eax, ecx
jl 0x44e78c
mov dword [esp + 0x2c], ecx
mov eax, dword [ebx + 0x1a120]
mov edi, dword [edx + 4]
sub eax, edi
mov edi, dword [esp + 0x24]
cmp edi, eax
jl 0x44e7a3
mov dword [esp + 0x24], eax
cmp dword [esp + 0x28], ecx
jg 0x44e7ad
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x20], eax
jg 0x44e7b7
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], 1
add edx, 0x14
dec esi
jne 0x44e76f
mov eax, dword [ebx + 0x19c98]
mov ecx, dword [ebx + eax*4 + 0x18e60]
test ecx, ecx
je 0x44e92c
cmp dword [ebx + 0xe70], 3
jne 0x44e83f
fild dword [ebx + 0x1a0e0]
lea ecx, [eax + eax*2]
lea edx, [eax + eax*2 + 0x21cf]
lea eax, [esp + 0x10]
fdivr qword [ebx + ecx*8 + 0x10e68]
lea ecx, [ebx + ecx*8]
push eax
fstp qword [esp + 0x5c]
fild dword [ebx + 0x1a0e4]
fdivr qword [ecx + 0x10e70]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [ebx + 0x2bde8]
fstp qword [esp + 0x68]
fild dword [ebx + 0x1a0e8]
fdivr qword [ebx + edx*8]
fstp qword [esp + 0x70]
call fcn.00451d90
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0xc], eax
jmp 0x44e880
lea edx, [eax + eax*2]
mov eax, dword [ebx + edx*8 + 0x10e6c]
push eax
mov ecx, dword [ebx + edx*8 + 0x10e68]
push ecx
call fcn.00450920
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x19c98]
lea edx, [eax + eax*2]
mov eax, dword [ebx + edx*8 + 0x10e74]
push eax
mov ecx, dword [ebx + edx*8 + 0x10e70]
push ecx
call fcn.00450920
add esp, 0x10
mov dword [esp + 0x14], eax
fild dword [ebx + 0x1a120]
fild dword [ebx + 0x19d30]
mov edx, dword [ebx + 0x19c98]
mov eax, dword [ebx + 0x19d38]
shl edx, 4
fdiv qword [ebx + 0x19d78]
lea esi, [edx + eax]
fiadd dword [esp + 0x14]
fsubp st(1)
fiadd dword [ebx + 0x19d18]
fild dword [esp + 0x10]
fild dword [ebx + 0x19d2c]
fdiv qword [ebx + 0x19d78]
fsubp st(1)
fstp qword [esp + 0x30]
fild dword [ebx + 0x1a11c]
fstp qword [esp + 0x40]
fld st(0)
fmul qword [ebx + 0x19d78]
call fcn.00457198
fild dword [esi + 8]
push eax
fadd qword [esp + 0x44]
fadd qword [esp + 0x34]
fmul qword [ebx + 0x19d78]
call fcn.00457198
fild dword [esi + 4]
push eax
fsubr st(1)
fmul qword [ebx + 0x19d78]
call fcn.00457198
fstp st(0)
fld qword [esp + 0x48]
fadd qword [esp + 0x38]
push eax
fmul qword [ebx + 0x19d78]
call fcn.00457198
lea ecx, [esp + 0x7c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x44e9c0
fild dword [ebx + 0x19d2c]
fdiv qword [ebx + 0x19d78]
fild dword [ebx + 0x1a11c]
fild dword [esp + 0x2c]
fsub st(2)
fadd st(1)
fmul qword [ebx + 0x19d78]
call fcn.00457198
fild dword [ebx + 0x1a120]
mov dword [esp + 0x70], eax
fstp qword [esp + 0x10]
fild dword [ebx + 0x19d30]
fdiv qword [ebx + 0x19d78]
fstp qword [esp + 0x40]
fild dword [esp + 0x20]
fadd qword [esp + 0x40]
fsubr qword [esp + 0x10]
fmul qword [ebx + 0x19d78]
call fcn.00457198
fild dword [esp + 0x28]
mov dword [esp + 0x74], eax
fsub st(2)
fadd st(1)
fmul qword [ebx + 0x19d78]
call fcn.00457198
fstp st(0)
fstp st(0)
fild dword [esp + 0x24]
mov dword [esp + 0x78], eax
fadd qword [esp + 0x40]
fsubr qword [esp + 0x10]
fmul qword [ebx + 0x19d78]
call fcn.00457198
mov dword [esp + 0x7c], eax
fld qword [ebx + 0x19d78]
call fcn.00457198
inc eax
lea edx, [esp + 0x70]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44e9f2
mov eax, dword [ebx + 0x19da0]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4