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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44cffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d8
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
xor esi, esi
mov eax, dword [ebp + 0x217c]
push edi
add eax, 0x5c
push esi
push esi
push 0xf0
mov eax, dword [eax + 0x1c]
push eax
call ebx
test eax, eax
je 0x4180d0
cmp esi, 0x2bf20
jg 0x418049
test esi, esi
jg 0x418077
call fcn.00425101
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x80010003
lea ecx, [ecx + ecx*8]
shl ecx, 5
imul ecx
add edx, ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
lea esi, [edx + ecx + 1]
jmp 0x41803d
mov edx, dword [0x461cd8]
mov dword [esp + 0x10], edx
push esi
lea eax, [esp + 0x14]
push 0x4614ec
push eax
mov dword [esp + 0x4fc], 0
call fcn.00434acd
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, dword [ebp + 0x217c]
push 0x3f0
call fcn.0043adc7
mov ecx, eax
call fcn.0043aee8
or edi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x4f0], edi
call fcn.00436ca6
jmp 0x418127
mov edx, dword [0x461cd8]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0x217c]
lea eax, [esp + 0x10]
push eax
push 0x3f0
mov dword [esp + 0x4f8], 1
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00424ea3
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x4f0], 0xffffffff
call fcn.00436ca6
or edi, 0xffffffff
mov edx, dword [0x4562a4]
push 1
push edx
push 1
push str.FormulaLab.fl
lea ecx, [esp + 0x9c]
call fcn.0042fa1f
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x4f0], 2
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x90]
cmp dword [ecx + 0x4c], edi
jne 0x418170
mov dword [esp + 0x4f0], edi
jmp 0x4188cd
mov cl, byte [esp + eax + 0x94]
xor edi, edi
test cl, 1
jne 0x4181fb
mov ecx, dword [esp + eax + 0xc0]
lea eax, [esp + eax + 0x8c]
test ecx, ecx
jge 0x41819c
add eax, 0x38
push eax
call fcn.0042fb2d
add esp, 4
mov edx, dword [esp + 0x90]
push 0xa
lea ecx, [esp + 0xec]
push 0x3e8
inc edx
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x9c], edx
call fcn.0042fb43
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x8c]
push ecx
call fcn.00417f80
add esp, 4
mov edx, edi
inc edi
cmp edx, esi
je 0x4181fb
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
test byte [esp + eax + 0x94], 1
je 0x41817e
mov ecx, dword [0x461cd8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x217c]
lea edx, [esp + 0x2c]
push edx
push 0x3f1
mov byte [esp + 0x4f8], 3
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov eax, dword [esp + 0x2c]
push eax
call fcn.00424ea3
add esp, 4
lea ecx, [esp + 0xe8]
mov esi, eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], esi
call fcn.00436d14
mov edx, dword [0x461cd8]
mov dword [esp + 0x28], edx
mov ecx, dword [ebp + 0x217c]
lea eax, [esp + 0x28]
push eax
push 0x3ef
mov byte [esp + 0x4f8], 5
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00424ea3
mov dword [esp + 0x88], eax
mov eax, dword [0x461cd8]
add esp, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0x217c]
lea edx, [esp + 0x30]
push edx
push 0x3eb
mov byte [esp + 0x4f8], 0xb
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [ebp + 0x217c]
lea eax, [esp + 0x24]
push eax
push 0x3ed
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00424ea3
add esp, 4
lea edx, [esp + 0xe8]
mov edi, eax
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0x14], edi
call fcn.00436e2f
mov ecx, dword [ebp + 0x217c]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x60], 0
push 0x3ee
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00424ea3
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x217c]
add esp, 4
add eax, 0x278
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0x147
push edx
call ebx
test esi, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], 0
jle 0x4187be
jmp 0x41837f
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x88]
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], esi
jle 0x4183d0
mov ecx, dword [ebp + 0x84]
mov eax, dword [esp + 0x30]
push eax
lea ecx, [ecx + esi*4]
call fcn.00434747
cmp eax, 0xffffffff
jne 0x4183b8
mov eax, dword [ebp + 0x88]
inc esi
cmp esi, eax
jl 0x41838f
mov dword [esp + 0x1c], esi
jmp 0x4183d0
mov edx, dword [ebp + 0x98]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
lea eax, [edx + esi*4 + 4]
push eax
call fcn.00436ddf
mov ecx, dword [esp + 0x20]
push 0x465fb0
push ecx
call fcn.00424b35
add esp, 8
test eax, eax
je 0x418829
lea ecx, [esp + 0x64]
call fcn.00435db8
mov edx, dword [0x461cd8]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x4fc], 0xd
call fcn.00436a1b
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x500], 0xe
call fcn.00436a1b
lea ecx, [esp + 0x84]
mov byte [esp + 0x4fc], 0xd
push ecx
mov ecx, ebp
call fcn.00415050
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x4f4], 0xf
call fcn.00436ddf
lea ecx, [esp + 0x78]
mov byte [esp + 0x4f0], 0xd
call fcn.00436ca6
xor ebx, ebx
test edi, edi
jle 0x418554
lea edx, [esi*4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x4185ed
mov eax, dword [ebp + 0x98]
mov edi, dword [esp + 0x34]
add eax, edi
lea ecx, [esp + 0x48]
push eax
call fcn.00436a1b
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x44]
mov byte [esp + 0x4f0], 0x10
lea edi, [ecx + 1]
lea ecx, [esp + 0x48]
push edi
push edx
call fcn.00434631
xor esi, esi
mov byte [esp + 0x4f0], 0x11
test edi, edi
jle 0x41850b
mov eax, dword [esp + 0x44]
mov cl, byte [esi + eax]
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x88]
push edx
call fcn.0043716d
cmp eax, 0xffffffff
je 0x41850b
cmp esi, dword [esp + 0x60]
je 0x41859f
inc esi
cmp esi, edi
jl 0x4184d8
lea ecx, [esp + 0x44]
mov byte [esp + 0x4f0], 0x10
call fcn.00436ca6
lea ecx, [esp + 0x48]
mov byte [esp + 0x4f0], 0xd
call fcn.00436ca6
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc ebx
sub edx, 4
dec ecx
cmp ebx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ecx
jl 0x41848a
mov esi, dword [esp + 0x1c]
mov edi, eax
mov edx, dword [esp + 0x6c]
sub esi, edi
push str.FAIL
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], esi
call fcn.00435f94
mov eax, edi
neg eax
cmp esi, eax
jl 0x418589
mov ecx, dword [ebp + 0x98]
lea edx, [ecx + esi*4 + 4]
lea ecx, [esp + 0x20]
push edx
call fcn.00436ddf
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
jmp 0x4183f3
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
or eax, 0xffffffff
push 0x4614e0
sub eax, ebx
push ecx
add edx, eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], edx
call fcn.00435f94
lea ecx, [esp + 0x44]
mov byte [esp + 0x4f0], 0x10
call fcn.00436ca6
lea ecx, [esp + 0x48]
mov byte [esp + 0x4f0], 0xd
call fcn.00436ca6
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
jmp 0x41856d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
mov eax, dword [esp + 0x6c]
xor edi, edi
xor esi, esi
mov dword [esp + 0x18], edi
test eax, eax
jle 0x418635
mov eax, dword [esp + 0x68]
push 0x4614e0
mov eax, dword [eax + esi*4]
push eax
call fcn.00424b35
add esp, 8
test eax, eax
jne 0x418628
inc edi
mov eax, dword [esp + 0x6c]
inc esi
cmp esi, eax
jl 0x41860e
mov dword [esp + 0x18], edi
mov ecx, dword [0x461cd8]
mov dword [esp + 0x40], ecx
fild dword [esp + 0x18]
sub esp, 8
lea edx, [esp + 0x48]
mov byte [esp + 0x4f8], 0x12
fmul dword [0x450108]
fidiv dword [esp + 0x74]
fstp qword [esp]
push 0x4614d8
push edx
call fcn.00434acd
lea eax, [edi + edi*4]
mov ecx, dword [esp + 0x94]
add esp, 0x10
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [esp + 0x6c]
cmp eax, ecx
jl 0x4186e4
mov esi, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x217c]
push 0
push 0
push 0
push 0
push 0x465fb0
push esi
add ecx, 0x98
push 1
call fcn.00434d85
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x217c]
push eax
push 0
push esi
add ecx, 0x98
call fcn.00434dd1
mov ecx, dword [esp + 0x40]
mov eax, esi
push ecx
mov ecx, dword [ebp + 0x217c]
inc esi
push 1
push eax
add ecx, 0x98
mov dword [esp + 0x68], esi
call fcn.00434dd1
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0xc0]
lea eax, [esp + eax + 0x8c]
test ecx, ecx
jge 0x41870c
add eax, 0x38
push eax
call fcn.0042fb2d
add esp, 4
mov ebx, dword [esp + 0x90]
push 0xa
lea ecx, [esp + 0xec]
push 0x3e8
inc ebx
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x9c], ebx
call fcn.0042fb43
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0xc0]
lea eax, [esp + eax + 0x8c]
test ecx, ecx
jge 0x41875e
add eax, 0x38
push eax
call fcn.0042fb38
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00436e2f
mov edx, dword [esp + 0x14]
push str.8644DBBA_13
push edx
call fcn.00424b35
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
lea ecx, [esp + 0x64]
mov byte [esp + 0x4f0], 0xb
call fcn.00435deb
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x41837b
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x461cd8]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x217c]
push 0
add eax, 0x98
push 0
push 0x1004
mov byte [esp + 0x4fc], 0x13
mov ecx, dword [eax + 0x1c]
push ecx
call ebx
push eax
lea edx, [esp + 0x50]
push 0x461990
push edx
call fcn.00434acd
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x217c]
add esp, 0xc
push eax
push 0x42a
call fcn.0043adc7
mov ecx, eax
call fcn.0043aee8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4f0], 0xb
call fcn.00436ca6
lea ecx, [esp + 0x24]
mov byte [esp + 0x4f0], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x38]
mov byte [esp + 0x4f0], 9
call fcn.00436ca6
lea ecx, [esp + 0x20]
mov byte [esp + 0x4f0], 8
call fcn.00436ca6
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f0], 7
call fcn.00436ca6
lea ecx, [esp + 0x54]
mov byte [esp + 0x4f0], 6
call fcn.00436ca6
lea ecx, [esp + 0x50]
mov byte [esp + 0x4f0], 5
call fcn.00436ca6
lea ecx, [esp + 0x28]
mov byte [esp + 0x4f0], 4
call fcn.00436ca6
lea ecx, [esp + 0x14]
mov byte [esp + 0x4f0], 3
call fcn.00436ca6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 2
call fcn.00436ca6
mov dword [esp + 0x4f0], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.0042fad6
lea ecx, [esp + 0x98]
call fcn.0042f917
mov ecx, dword [esp + 0x4e8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret