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

Disassembly:
push 0xffffffffffffffff
push 0x4b554c
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4ef7d0]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ef7d0]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov edi, ecx
mov eax, dword [edi + 4]
push 0x85f
push eax
call ebp
mov ecx, dword [edi + 4]
push 0
push 0
push 0x861
push ecx
mov ebx, eax
call ebp
mov esi, eax
cmp ebx, esi
mov dword [esp + 0x18], esi
je 0x4178e4
mov edx, dword [edi + 4]
push 0
push 0
push 0x82b
push edx
call ebp
mov cl, 7
sub cl, al
or al, 0xff
shr al, cl
sub esi, ebx
add esi, 0xa
push esi
mov byte [esp + 0x1b], al
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00413530
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push 0
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x24]
push 0x7df
push edi
mov dword [esp + 0xf4], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
call ebp
push 0x32
lea edx, [esp + 0x70]
push 0
push edx
mov ebp, ebx
mov edi, ebx
mov dword [esp + 0x74], 0x36
call fcn.0049e8b0
movzx eax, byte [esp + 0x23]
movzx ecx, byte [ebx + 1]
and ecx, eax
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x2c], eax
call fcn.0042a3e0
add esp, 0x14
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
cmp esi, 0xf
mov byte [esp + 0xe4], 1
je 0x4175e9
push 1
push esi
lea ecx, [esp + 0x54]
call fcn.00405140
test al, al
je 0x4175e9
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], 0
jae 0x4175e6
lea eax, [esp + 0x50]
mov byte [eax], 0
push 6
push str._code_
lea ecx, [esp + 0x54]
call fcn.004068a0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042b010
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xf0], 2
call fcn.00406d90
mov esi, 0x10
cmp dword [esp + 0x48], esi
mov byte [esp + 0xe4], 1
jb 0x417641
mov edx, dword [esp + 0x34]
push edx
call fcn.0049ea7d
add esp, 4
cmp byte [ebx], 0
je 0x417877
mov al, byte [ebp]
cmp al, 0x20
jne 0x417666
push 6
push str.nbsp_
lea ecx, [esp + 0x54]
call fcn.00407210
jmp 0x417861
cmp al, 9
jne 0x4176a6
mov eax, dword [0x4e65b8]
xor esi, esi
cmp word [eax + 0x3a], si
jbe 0x417861
jmp 0x417680
push 6
push str.nbsp_
lea ecx, [esp + 0x54]
call fcn.00407210
mov ecx, dword [0x4e65b8]
movzx edx, word [ecx + 0x3a]
add esi, 1
cmp esi, edx
jl 0x417680
jmp 0x417861
cmp al, 0xd
je 0x41783e
cmp al, 0xa
je 0x41783e
mov bl, byte [ebp + 1]
mov al, byte [esp + 0x17]
mov cl, byte [edi + 1]
mov dl, bl
and cl, al
and dl, al
cmp cl, dl
je 0x4177f7
push 0x32
lea eax, [esp + 0xa8]
push 0
push eax
mov dword [esp + 0xac], 0x36
call fcn.0049e8b0
movzx ecx, bl
and ecx, dword [esp + 0x24]
lea edx, [esp + 0xac]
push ecx
push edx
call fcn.0042a3e0
add esp, 0x14
mov eax, 0x36
lea ecx, [esp + 0x68]
lea edx, [esp + 0xa0]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x41772a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x417712
test eax, eax
je 0x417787
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x417779
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x417787
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x417779
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x417787
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x417779
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x417787
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x417787
test esi, esi
mov eax, 1
jg 0x417789
or eax, 0xffffffff
jmp 0x417789
xor eax, eax
test eax, eax
je 0x4177f5
mov ecx, 0xd
lea esi, [esp + 0xa0]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
push 7
push 0x4c8290
lea ecx, [esp + 0x54]
movsw word es:[edi], word [esi]
call fcn.00407210
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.0042b010
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xf0], 3
call fcn.00406d90
cmp dword [esp + 0x48], 0x10
mov byte [esp + 0xe4], 1
jb 0x4177f5
mov eax, dword [esp + 0x34]
push eax
call fcn.0049ea7d
add esp, 4
mov edi, ebp
mov al, byte [ebp]
cmp al, 0x3c
lea ecx, [esp + 0x4c]
jne 0x417810
push 4
push str.lt_
call fcn.00407210
jmp 0x417861
cmp al, 0x3e
jne 0x417822
push 4
push str.gt_
call fcn.00407210
jmp 0x417861
cmp al, 0x22
jne 0x417834
push 6
push str.quot_
call fcn.00407210
jmp 0x417861
push eax
push 1
call fcn.00406710
jmp 0x417861
push 6
push str._br__r_n
lea ecx, [esp + 0x54]
call fcn.00407210
mov al, byte [ebp + 2]
cmp al, 0xd
je 0x417859
cmp al, 0xa
jne 0x417861
cmp al, byte [ebp]
je 0x417861
add ebp, 2
add ebp, 2
cmp byte [ebp], 0
jne 0x41764a
mov ebx, dword [esp + 0x1c]
mov esi, 0x10
push 7
push 0x4c8290
lea ecx, [esp + 0x54]
call fcn.00407210
push 9
push str.__code__r_n
lea ecx, [esp + 0x54]
call fcn.00407210
cmp dword [esp + 0x64], esi
mov eax, dword [esp + 0x50]
jae 0x4178a5
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x60]
push ecx
push eax
call fcn.0042bf60
add esp, 8
cmp dword [esp + 0x64], esi
jb 0x4178c6
mov edx, dword [esp + 0x50]
push edx
call fcn.0049ea7d
add esp, 4
push ebx
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.0049ed7a
add esp, 4
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0049ec31
add esp, 0xd4
ret