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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44cf0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d8
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0x217c]
push ebp
add eax, 0x5c
push ebp
push 0xf0
xor edi, edi
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
je 0x4176ec
cmp edi, 0x2bf20
jg 0x417669
cmp edi, ebp
jg 0x417697
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 edi, [edx + ecx + 1]
jmp 0x41765d
mov edx, dword [0x461cd8]
mov dword [esp + 0x10], edx
push edi
lea eax, [esp + 0x14]
push 0x4614ec
push eax
mov dword [esp + 0x4fc], ebp
call fcn.00434acd
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, dword [esi + 0x217c]
push 0x3f0
call fcn.0043adc7
mov ecx, eax
call fcn.0043aee8
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x4f0], ebx
call fcn.00436ca6
jmp 0x417743
mov edx, dword [0x461cd8]
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 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 edi, eax
mov dword [esp + 0x4f0], 0xffffffff
call fcn.00436ca6
or ebx, 0xffffffff
mov edx, dword [0x4562a4]
push 1
push edx
push 1
push str.FormulaLab.fl
lea ecx, [esp + 0x94]
call fcn.0042fa1f
mov eax, dword [esp + 0x84]
mov dword [esp + 0x4f0], 2
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x88]
cmp dword [ecx + 0x4c], ebx
je 0x417ea1
test byte [esp + eax + 0x8c], 1
jne 0x41780b
mov ecx, dword [esp + eax + 0xb8]
lea eax, [esp + eax + 0x84]
test ecx, ecx
jge 0x4177ac
add eax, 0x38
push eax
call fcn.0042fb2d
add esp, 4
mov edx, dword [esp + 0x88]
push 0xa
lea ecx, [esp + 0xec]
push 0x3e8
inc edx
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], edx
call fcn.0042fb43
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x84]
push ecx
call fcn.00417f80
add esp, 4
mov edx, ebp
inc ebp
cmp edx, edi
je 0x41780b
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 4]
test byte [esp + eax + 0x8c], 1
je 0x41778e
mov ecx, dword [0x461cd8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x217c]
lea edx, [esp + 0x38]
push edx
push 0x3f1
mov byte [esp + 0x4f8], 3
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov eax, dword [esp + 0x38]
push eax
call fcn.00424ea3
add esp, 4
lea ecx, [esp + 0xe8]
mov edi, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], edi
call fcn.00436d14
mov edx, dword [0x461cd8]
mov dword [esp + 0x30], edx
mov ecx, dword [esi + 0x217c]
lea eax, [esp + 0x30]
push eax
push 0x3ef
mov byte [esp + 0x4f8], 5
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00424ea3
mov dword [esp + 0x74], eax
mov eax, dword [0x461cd8]
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x217c]
lea edx, [esp + 0x28]
push edx
push 0x3eb
mov byte [esp + 0x4f8], 0xb
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esi + 0x217c]
lea eax, [esp + 0x2c]
push eax
push 0x3ed
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00424ea3
add esp, 4
lea edx, [esp + 0xe8]
mov ebp, eax
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0x14], ebp
call fcn.00436e2f
xor eax, eax
cmp edi, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
jle 0x417d98
jmp 0x417935
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x88]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x417986
mov ecx, dword [esi + 0x84]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [ecx + ebx*4]
call fcn.00434747
cmp eax, 0xffffffff
jne 0x41796e
mov eax, dword [esi + 0x88]
inc ebx
cmp ebx, eax
jl 0x417945
mov dword [esp + 0x14], ebx
jmp 0x417986
mov edx, dword [esi + 0x98]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
lea eax, [edx + ebx*4 + 4]
push eax
call fcn.00436ddf
mov ecx, dword [esp + 0x1c]
push 0x465fb0
push ecx
call fcn.00424b35
add esp, 8
test eax, eax
je 0x417ed6
mov ecx, dword [esi + 0x217c]
lea edx, [esp + 0x34]
push edx
push 0x3ee
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov eax, dword [esp + 0x34]
push eax
call fcn.00424ea3
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x217c]
add esp, 4
add eax, 0x23c
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], eax
call fcn.00435db8
mov edx, dword [0x461cd8]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0xe8], esp
push edx
mov byte [esp + 0x4fc], 0xd
call fcn.00436a1b
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xf0], esp
push eax
mov byte [esp + 0x500], 0xe
call fcn.00436a1b
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4fc], 0xd
push ecx
mov ecx, esi
call fcn.00415050
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4f4], 0xf
call fcn.00436ddf
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f0], 0xd
call fcn.00436ca6
xor edi, edi
test ebp, ebp
jle 0x417b36
lea ebp, [ebx*4]
test ebx, ebx
jl 0x417bcf
mov edx, dword [esi + 0x98]
lea ecx, [esp + 0x48]
add edx, ebp
push edx
call fcn.00436a1b
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x20]
inc eax
mov byte [esp + 0x4f0], 0x10
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00434631
mov edx, dword [esp + 0x20]
mov byte [esp + 0x4f0], 0x11
mov al, byte [edx]
mov byte [esp + 0x78], al
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0x24]
call fcn.004343c3
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push edx
call fcn.00434747
cmp eax, 0xffffffff
jne 0x417b81
lea ecx, [esp + 0x20]
mov byte [esp + 0x4f0], 0x10
call fcn.00436ca6
lea ecx, [esp + 0x48]
mov byte [esp + 0x4f0], 0xd
call fcn.00436ca6
mov eax, dword [esp + 0x10]
inc edi
sub ebp, 4
dec ebx
cmp edi, eax
jl 0x417a90
mov ebx, dword [esp + 0x14]
mov ebp, eax
mov edx, dword [esp + 0x60]
sub ebx, ebp
push str.FAIL
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ebx
call fcn.00435f94
mov eax, ebp
neg eax
cmp ebx, eax
jl 0x417b6b
mov ecx, dword [esi + 0x98]
lea edx, [ecx + ebx*4 + 4]
lea ecx, [esp + 0x1c]
push edx
call fcn.00436ddf
lea ecx, [esp + 0x24]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
jmp 0x4179fb
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
or eax, 0xffffffff
push 0x4614e0
sub eax, edi
push ecx
add edx, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], edx
call fcn.00435f94
lea ecx, [esp + 0x20]
mov byte [esp + 0x4f0], 0x10
call fcn.00436ca6
lea ecx, [esp + 0x48]
mov byte [esp + 0x4f0], 0xd
call fcn.00436ca6
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x417b4f
lea ecx, [esp + 0x24]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
push 0x46193c
lea ecx, [esp + 0x40]
call fcn.00437082
mov eax, dword [0x461cd8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
xor ebx, ebx
xor edi, edi
mov byte [esp + 0x4f0], 0x12
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x417c36
mov ecx, dword [esp + 0x5c]
push 0x4614e0
mov eax, dword [ecx + edi*4]
push eax
call fcn.00424b35
add esp, 8
test eax, eax
jne 0x417c29
inc ebx
mov eax, dword [esp + 0x60]
inc edi
cmp edi, eax
jl 0x417c0f
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
sub esp, 8
lea edx, [esp + 0x4c]
fmul dword [0x450108]
fidiv dword [esp + 0x68]
fstp qword [esp]
push 0x4614d8
push edx
call fcn.00434acd
lea eax, [ebx + ebx*4]
mov ecx, dword [esp + 0x80]
add esp, 0x10
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [esp + 0x60]
cmp eax, ecx
jl 0x417cd3
mov edi, dword [esp + 0x4c]
mov ecx, dword [esi + 0x217c]
push 0
push 0
push 0
push 0
push 0x465fb0
push edi
add ecx, 0x98
push 1
call fcn.00434d85
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x217c]
push eax
push 0
push edi
add ecx, 0x98
call fcn.00434dd1
mov ecx, dword [esp + 0x44]
mov eax, edi
push ecx
mov ecx, dword [esi + 0x217c]
inc edi
push 1
push eax
add ecx, 0x98
mov dword [esp + 0x58], edi
call fcn.00434dd1
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0xb8]
lea eax, [esp + eax + 0x84]
test ecx, ecx
jge 0x417cfb
add eax, 0x38
push eax
call fcn.0042fb2d
add esp, 4
mov ebp, dword [esp + 0x88]
push 0xa
lea ecx, [esp + 0xec]
push 0x3e8
inc ebp
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], ebp
call fcn.0042fb43
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0xb8]
lea eax, [esp + eax + 0x84]
test ecx, ecx
jge 0x417d4d
add eax, 0x38
push eax
call fcn.0042fb38
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00436e2f
lea ecx, [esp + 0x44]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
lea ecx, [esp + 0x58]
mov byte [esp + 0x4f0], 0xb
call fcn.00435deb
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jl 0x417931
or ebx, 0xffffffff
mov edx, dword [0x461cd8]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x217c]
push 0
add eax, 0x98
push 0
push 0x1004
mov byte [esp + 0x4fc], 0x13
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
lea ecx, [esp + 0x44]
push 0x461990
push ecx
call fcn.00434acd
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0x217c]
add esp, 0xc
push edx
push 0x42a
call fcn.0043adc7
mov ecx, eax
call fcn.0043aee8
lea ecx, [esp + 0x40]
mov byte [esp + 0x4f0], 0xb
call fcn.00436ca6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x34]
mov byte [esp + 0x4f0], 9
call fcn.00436ca6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4f0], 8
call fcn.00436ca6
lea ecx, [esp + 0x28]
mov byte [esp + 0x4f0], 7
call fcn.00436ca6
lea ecx, [esp + 0x50]
mov byte [esp + 0x4f0], 6
call fcn.00436ca6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 5
call fcn.00436ca6
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f0], 4
call fcn.00436ca6
lea ecx, [esp + 0x18]
mov byte [esp + 0x4f0], 3
call fcn.00436ca6
lea ecx, [esp + 0x38]
mov byte [esp + 0x4f0], 2
call fcn.00436ca6
mov dword [esp + 0x4f0], ebx
lea ecx, [esp + 0x90]
call fcn.0042fad6
lea ecx, [esp + 0x90]
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
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x34]
mov byte [esp + 0x4f0], 9
call fcn.00436ca6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4f0], 8
call fcn.00436ca6
lea ecx, [esp + 0x28]
mov byte [esp + 0x4f0], 7
call fcn.00436ca6
lea ecx, [esp + 0x50]
mov byte [esp + 0x4f0], 6
call fcn.00436ca6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 5
call fcn.00436ca6
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f0], 4
call fcn.00436ca6
lea ecx, [esp + 0x18]
mov byte [esp + 0x4f0], 3
call fcn.00436ca6
lea ecx, [esp + 0x38]
mov byte [esp + 0x4f0], 2
call fcn.00436ca6
mov dword [esp + 0x4f0], 0xffffffff
jmp 0x417ea8