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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d0ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d8
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov eax, dword [esi + 0x217c]
xor edi, edi
add eax, 0x5c
push edi
push edi
push 0xf0
mov eax, dword [eax + 0x1c]
push eax
call ebp
test eax, eax
je 0x4189e0
cmp edi, 0x2bf20
jg 0x418959
test edi, edi
jg 0x418987
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 0x41894d
mov edx, dword [0x461cd8]
mov dword [esp + 0x14], edx
push edi
lea eax, [esp + 0x18]
push 0x4614ec
push eax
mov dword [esp + 0x4fc], 0
call fcn.00434acd
mov ecx, dword [esp + 0x20]
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 + 0x14]
mov dword [esp + 0x4f0], ebx
call fcn.00436ca6
jmp 0x418a37
mov edx, dword [0x461cd8]
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0x217c]
lea eax, [esp + 0x14]
push eax
push 0x3f0
mov dword [esp + 0x4f8], 1
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00424ea3
add esp, 4
lea ecx, [esp + 0x14]
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 + 0x98]
call fcn.0042fa1f
mov eax, dword [esp + 0x88]
mov dword [esp + 0x4f0], 2
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x8c]
cmp dword [ecx + 0x4c], ebx
jne 0x418a80
mov dword [esp + 0x4f0], ebx
jmp 0x4191a5
mov cl, byte [esp + eax + 0x90]
xor ebx, ebx
test cl, 1
jne 0x418b0b
mov ecx, dword [esp + eax + 0xbc]
lea eax, [esp + eax + 0x88]
test ecx, ecx
jge 0x418aac
add eax, 0x38
push eax
call fcn.0042fb2d
add esp, 4
mov edx, dword [esp + 0x8c]
push 0xa
lea ecx, [esp + 0xec]
push 0x3e8
inc edx
push ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0x98], edx
call fcn.0042fb43
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x88]
push ecx
call fcn.00417f80
add esp, 4
mov edx, ebx
inc ebx
cmp edx, edi
je 0x418b0b
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 4]
test byte [esp + eax + 0x90], 1
je 0x418a8e
mov ecx, dword [0x461cd8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x217c]
lea edx, [esp + 0x34]
push edx
push 0x3f1
mov byte [esp + 0x4f8], 3
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov eax, dword [esp + 0x34]
push eax
call fcn.00424ea3
add esp, 4
lea ecx, [esp + 0xe8]
mov edi, eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], edi
call fcn.00436d14
mov edx, dword [0x461cd8]
mov dword [esp + 0x2c], edx
mov ecx, dword [esi + 0x217c]
lea eax, [esp + 0x2c]
push eax
push 0x3ef
mov byte [esp + 0x4f8], 5
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00424ea3
mov dword [esp + 0x80], eax
mov eax, dword [0x461cd8]
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x217c]
lea edx, [esp + 0x38]
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 + 0x28]
push eax
push 0x3ed
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00424ea3
add esp, 4
lea edx, [esp + 0xe8]
mov ebx, eax
lea ecx, [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.00436e2f
mov ecx, dword [esi + 0x217c]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x54], 0
push 0x3ee
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00424ea3
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x217c]
add esp, 4
add eax, 0x278
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0x147
push edx
call ebp
test edi, edi
mov dword [esp + 0x5c], 0
jle 0x419096
jmp 0x418c85
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x88]
xor edi, edi
test eax, eax
mov dword [esp + 0x1c], edi
jle 0x418cd6
mov ecx, dword [esi + 0x84]
mov eax, dword [esp + 0x38]
push eax
lea ecx, [ecx + edi*4]
call fcn.00434747
cmp eax, 0xffffffff
jne 0x418cbe
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x418c95
mov dword [esp + 0x1c], edi
jmp 0x418cd6
mov edx, dword [esi + 0x98]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edi
lea eax, [edx + edi*4 + 4]
push eax
call fcn.00436ddf
mov ecx, dword [esp + 0x24]
push 0x465fb0
push ecx
call fcn.00424b35
add esp, 8
test eax, eax
je 0x419101
lea ecx, [esp + 0x60]
call fcn.00435db8
mov edx, dword [0x461cd8]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x24]
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 + 0x2c]
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 + 0x40]
mov byte [esp + 0x4f4], 0xf
call fcn.00436ddf
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f0], 0xd
call fcn.00436ca6
xor ebp, ebp
test ebx, ebx
jle 0x418e3e
mov dword [esp + 0x18], edi
lea ebx, [edi*4]
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x418ed7
mov edx, dword [esi + 0x98]
lea ecx, [esp + 0x48]
add edx, ebx
push edx
call fcn.00436a1b
lea eax, [esp + 0x44]
push 3
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x4f8], 0x10
call fcn.00434631
mov byte [esp + 0x4f0], 0x11
xor edi, edi
mov ecx, dword [esp + 0x44]
mov dl, byte [edi + ecx]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], dl
mov eax, dword [esp + 0x84]
push eax
call fcn.0043716d
cmp eax, 0xffffffff
jne 0x418e89
inc edi
cmp edi, 3
jl 0x418dcf
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 ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ebp
sub ebx, 4
dec ecx
cmp ebp, eax
mov dword [esp + 0x18], ecx
jl 0x418d8f
mov edi, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x68]
sub edi, ebx
push str.FAIL
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], edi
call fcn.00435f94
mov ecx, ebx
neg ecx
cmp edi, ecx
jl 0x418e73
mov edx, dword [esi + 0x98]
lea ecx, [esp + 0x24]
lea eax, [edx + edi*4 + 4]
push eax
call fcn.00436ddf
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
jmp 0x418cf9
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
sub ecx, ebp
push 0x4614e0
add edx, ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x6c]
push 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 edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
jmp 0x418e57
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
mov eax, dword [esp + 0x68]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x18], ebx
test eax, eax
jle 0x418f1f
mov ecx, dword [esp + 0x64]
push 0x4614e0
mov eax, dword [ecx + edi*4]
push eax
call fcn.00424b35
add esp, 8
test eax, eax
jne 0x418f12
inc ebx
mov eax, dword [esp + 0x68]
inc edi
cmp edi, eax
jl 0x418ef8
mov dword [esp + 0x18], ebx
mov edx, dword [0x461cd8]
mov dword [esp + 0x40], edx
fild dword [esp + 0x18]
sub esp, 8
lea eax, [esp + 0x48]
mov byte [esp + 0x4f8], 0x12
fmul dword [0x450108]
fidiv dword [esp + 0x70]
fstp qword [esp]
push 0x4614d8
push eax
call fcn.00434acd
lea eax, [ebx + ebx*4]
mov ecx, dword [esp + 0x8c]
add esp, 0x10
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [esp + 0x68]
cmp eax, ecx
jl 0x418fce
mov edi, dword [esp + 0x50]
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 ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x217c]
push 0
push edi
add ecx, 0x98
call fcn.00434dd1
mov edx, dword [esp + 0x40]
mov ecx, dword [esi + 0x217c]
mov eax, edi
push edx
inc edi
push 1
push eax
add ecx, 0x98
mov dword [esp + 0x5c], edi
call fcn.00434dd1
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
lea eax, [esp + ecx + 0x88]
mov ecx, dword [esp + ecx + 0xbc]
test ecx, ecx
jge 0x418ff6
add eax, 0x38
push eax
call fcn.0042fb2d
add esp, 4
mov eax, dword [esp + 0x8c]
push 0xa
lea edx, [esp + 0xec]
inc eax
push 0x3e8
push edx
lea ecx, [esp + 0x94]
mov dword [esp + 0x98], eax
call fcn.0042fb43
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
lea eax, [esp + ecx + 0x88]
mov ecx, dword [esp + ecx + 0xbc]
test ecx, ecx
jge 0x419048
add eax, 0x38
push eax
call fcn.0042fb38
add esp, 4
lea edx, [esp + 0xe8]
lea ecx, [esp + 0x20]
push edx
call fcn.00436e2f
lea ecx, [esp + 0x40]
mov byte [esp + 0x4f0], 0xc
call fcn.00436ca6
lea ecx, [esp + 0x60]
mov byte [esp + 0x4f0], 0xb
call fcn.00435deb
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
jl 0x418c81
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x461cd8]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x217c]
push 0
add eax, 0x98
push 0
push 0x1004
mov byte [esp + 0x4fc], 0x13
mov ecx, dword [eax + 0x1c]
push ecx
call ebp
push eax
lea edx, [esp + 0x50]
push 0x461990
push edx
call fcn.00434acd
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 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 + 0x28]
mov byte [esp + 0x4f0], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x30]
mov byte [esp + 0x4f0], 9
call fcn.00436ca6
lea ecx, [esp + 0x24]
mov byte [esp + 0x4f0], 8
call fcn.00436ca6
lea ecx, [esp + 0x38]
mov byte [esp + 0x4f0], 7
call fcn.00436ca6
lea ecx, [esp + 0x54]
mov byte [esp + 0x4f0], 6
call fcn.00436ca6
lea ecx, [esp + 0x58]
mov byte [esp + 0x4f0], 5
call fcn.00436ca6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4f0], 4
call fcn.00436ca6
lea ecx, [esp + 0x20]
mov byte [esp + 0x4f0], 3
call fcn.00436ca6
lea ecx, [esp + 0x34]
mov byte [esp + 0x4f0], 2
call fcn.00436ca6
mov dword [esp + 0x4f0], 0xffffffff
lea ecx, [esp + 0x94]
call fcn.0042fad6
lea ecx, [esp + 0x94]
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