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

Disassembly:
sub esp, 0xd8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe8]
push edi
mov ecx, esi
call fcn.00414e30
lea ecx, [eax + eax*4]
lea edi, [eax + ecx*2]
mov dword [esp + 0xbc], eax
shl edi, 2
mov eax, dword [edi + 0x7ddfb4]
mov edx, dword [edi + 0x7ddfb8]
shr eax, 3
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x7ddf98]
mov ecx, esi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa0], eax
call fcn.00414e30
mov ecx, esi
mov ebp, eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.00414e30
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
shl eax, 2
mov ebx, dword [eax + 0x7ddfb4]
mov edx, dword [eax + 0x7ddfb8]
mov eax, dword [eax + 0x7ddf98]
shr ebx, 3
mov ecx, esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb0], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00414e30
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
add ecx, edx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x60], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.00414e30
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
mov ecx, esi
fstp qword [esp + 0x24]
call fcn.00414e30
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
mov ecx, esi
fstp qword [esp + 0x84]
call fcn.00414e30
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
mov ecx, esi
fstp qword [esp + 0xb4]
call fcn.00414e30
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
add ecx, eax
add edx, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov eax, dword [edi + 0x7ddfac]
mov dword [esp + 0xd8], ecx
mov ecx, dword [edi + 0x7ddfb0]
mov dword [esp + 0xdc], edx
lea edx, [esp + 0xc0]
mov dword [esp + 0xc8], eax
push edx
lea eax, [esp + 0xd4]
mov dword [esp + 0xd0], ecx
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x5c], ebp
call fcn.00417850
add esp, 0xc
test eax, eax
je 0x4193d0
fld qword [esp + 0x24]
fmul qword [0x47b578]
fst qword [esp + 0xe0]
fld st(0)
fsin
fmul qword [0x47b570]
call fcn.00407cf0
fcos
mov edi, eax
mov ebp, edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebp
fmul qword [0x47b570]
call fcn.00407cf0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
sub eax, ecx
mov dword [esp + 0x40], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
mov ecx, eax
mov eax, dword [esp + 0x5c]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov esi, eax
neg ecx
mov eax, ecx
cdq
mov dword [esp + 0x48], eax
neg esi
push ebp
mov dword [esp + 0x50], edx
mov eax, esi
cdq
push edi
push edx
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.00445240
mov ecx, dword [esp + 0x4c]
mov ebp, edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.00445240
mov dword [esp + 0x34], esi
mov esi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
mov esi, edx
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x1c]
sub esi, eax
mov eax, dword [esp + 0x60]
push 1
mov dword [esp + 0x20], esi
mov esi, edx
cdq
push 0
push edx
push eax
sbb esi, ebp
call fcn.00445240
mov ecx, dword [esp + 0x1c]
add ecx, eax
adc esi, edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
fild qword [esp + 0x8c]
fdiv qword [esp + 0x84]
call fcn.00407cf0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.00445240
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x74]
push eax
push edi
mov ebp, edx
mov edx, dword [esp + 0x50]
push ecx
push edx
call fcn.00445240
add esi, eax
mov eax, dword [esp + 0x2c]
push 1
adc ebp, edx
cdq
push 0
push edx
push eax
call fcn.00445240
add esi, eax
adc ebp, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
fild qword [esp + 0x24]
fdiv qword [esp + 0xb4]
call fcn.00407cf0
fild qword [esp + 0x3c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
fdiv qword [esp + 0x84]
call fcn.00407cf0
fild qword [esp + 0x70]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
fdiv qword [esp + 0xb4]
call fcn.00407cf0
fld qword [esp + 0xe0]
fadd qword [0x47b568]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
fld st(0)
fcos
fmul qword [0x47b570]
fdiv qword [esp + 0x84]
call fcn.00407cf0
fsin
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
fmul qword [0x47b570]
fdiv qword [esp + 0xb4]
call fcn.00407cf0
mov dword [esp + 0x3c], eax
test byte [esp + 0x10], 1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], edx
cdq
mov edi, eax
mov eax, dword [esp + 0x18]
mov ebp, edx
cdq
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
je 0x4191b8
cmp ebp, edx
jg 0x419345
jl 0x41903f
cmp edi, eax
jae 0x419345
mov eax, dword [esp + 0x50]
mov ecx, eax
imul ecx, dword [esp + 0x7c]
cdq
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], edx
cdq
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push ebp
push edi
call fcn.00445240
mov ecx, dword [esp + 0x20]
mov esi, edx
add eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
push eax
push ebp
push edi
adc esi, ecx
call fcn.00445240
mov ebp, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
add eax, ebp
mov ebp, dword [esp + 0xa0]
adc edx, ecx
mov ecx, edi
imul ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x84], eax
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
add ecx, ebp
mov ebp, dword [esp + 0x64]
cmp ebp, edi
mov dword [esp + 0x24], eax
jg 0x419181
jl 0x4190ea
cmp eax, dword [esp + 0x2c]
jae 0x419181
cmp esi, dword [esp + 0x80]
jl 0x41913a
cmp esi, dword [esp + 0x94]
jge 0x41913a
cmp edx, dword [esp + 0x78]
jl 0x41913a
cmp edx, dword [esp + 0x44]
jge 0x41913a
mov eax, edx
imul eax, dword [esp + 0xac]
mov edi, esi
imul edi, ebx
mov ebx, dword [esp + 0xb0]
add ebx, eax
mov ax, word [edi + ebx]
add edi, ebx
mov ebx, dword [esp + 0xa4]
mov word [ecx], ax
mov al, byte [edi + 2]
mov byte [ecx + 2], al
mov eax, dword [esp + 0x24]
add ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x8c]
add dword [esp + 0x68], edi
adc esi, dword [esp + 0x90]
mov edi, dword [esp + 0x70]
add dword [esp + 0x84], edi
adc edx, dword [esp + 0x74]
mov edi, dword [esp + 0x30]
add eax, 1
adc ebp, 0
cmp ebp, edi
mov dword [esp + 0x24], eax
jl 0x4190ea
jg 0x419181
cmp eax, dword [esp + 0x2c]
jb 0x4190ea
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
add edi, 1
adc ebp, 0
cmp ebp, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
jl 0x419064
jg 0x419345
cmp edi, dword [esp + 0x34]
jb 0x419064
jmp 0x419345
cmp ebp, edx
jg 0x419345
jl 0x4191ca
cmp edi, eax
jae 0x419345
mov eax, dword [esp + 0x50]
mov ecx, eax
imul ecx, dword [esp + 0x7c]
cdq
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], edx
cdq
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
push ebp
push edi
call fcn.00445240
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
push eax
push ecx
mov esi, edx
mov edx, dword [esp + 0x28]
push ebp
push edi
adc esi, edx
call fcn.00445240
mov ebp, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
add eax, ebp
mov ebp, dword [esp + 0xa0]
adc edx, ecx
mov ecx, edi
imul ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x84], eax
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
add ecx, ebp
mov ebp, dword [esp + 0x64]
cmp ebp, edi
mov dword [esp + 0x24], eax
jg 0x419317
jl 0x419275
cmp eax, dword [esp + 0x2c]
jae 0x419317
cmp esi, dword [esp + 0x80]
jl 0x4192c7
cmp esi, dword [esp + 0x94]
jge 0x4192c7
cmp edx, dword [esp + 0x78]
jl 0x4192c7
cmp edx, dword [esp + 0x44]
jge 0x4192c7
mov eax, edx
imul eax, dword [esp + 0xac]
mov edi, esi
imul edi, ebx
mov ebx, dword [esp + 0xb0]
add ebx, eax
mov ax, word [edi + ebx]
add edi, ebx
mov ebx, dword [esp + 0xa4]
mov word [ecx], ax
mov al, byte [edi + 2]
mov byte [ecx + 2], al
mov eax, dword [esp + 0x24]
jmp 0x4192d0
mov word [ecx], 0
mov byte [ecx + 2], 0
add ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x8c]
add dword [esp + 0x68], edi
adc esi, dword [esp + 0x90]
mov edi, dword [esp + 0x70]
add dword [esp + 0x84], edi
adc edx, dword [esp + 0x74]
mov edi, dword [esp + 0x30]
add eax, 1
adc ebp, 0
cmp ebp, edi
mov dword [esp + 0x24], eax
jl 0x419275
jg 0x419317
cmp eax, dword [esp + 0x2c]
jb 0x419275
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
add edi, 1
adc ebp, 0
cmp ebp, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
jl 0x4191ef
jg 0x419345
cmp edi, dword [esp + 0x34]
jb 0x4191ef
mov ecx, dword [esp + 0xbc]
cmp ecx, dword [0x13b43e4]
jne 0x4193d0
mov ebx, dword [0x13b43c4]
lea edx, [esp + 0x50]
test edx, edx
je 0x4193c2
fild dword [esp + 0x58]
fmul dword [0x487f58]
call fcn.00407cf0
fild dword [esp + 0x5c]
mov esi, dword [0x13b43ec]
add eax, esi
fmul dword [0x487f5c]
mov dword [esp + 0x58], eax
call fcn.00407cf0
fild dword [esp + 0x50]
mov edi, dword [0x13b43f0]
add eax, edi
fmul dword [0x487f58]
mov dword [esp + 0x5c], eax
call fcn.00407cf0
fild dword [esp + 0x54]
add eax, esi
mov dword [esp + 0x50], eax
fmul dword [0x487f5c]
call fcn.00407cf0
add eax, edi
mov dword [esp + 0x54], eax
push 0
lea eax, [esp + 0x54]
push eax
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd8
ret