Function at 0x407ce0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov eax, dword [0x425fc0]
xor eax, esp
mov dword [esp + 0x70], eax
fldz
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
fstp qword [esp + 0x14]
fldz
push ebp
xor eax, eax
fstp dword [esp + 0x20]
push esi
push edi
mov word [esp + 0x18], ax
mov byte [esp + 0x7f], bl
xor ecx, ecx
jmp 0x407d20
movsx eax, byte [ecx + 0x423618]
cdq
mov esi, 0x1a
idiv esi
inc ecx
add dl, 0x61
mov byte [esp + ecx + 0x77], dl
cmp ecx, 7
jne 0x407d20
mov dword [esp + 0x1c], ebx
xor ecx, ecx
mov dword [esp + 0x1c], ebx
push 0xbb6
mov word [esp + 0x20], cx
call fcn.0040b813
push 0xbb6
mov esi, eax
push 0x423618
push esi
call fcn.0040b8e0
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edi, [esi + 0xbb6]
add esp, 0x10
add eax, 0x423618
mov ecx, esi
cmp esi, edi
je 0x407d8f
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x407d85
fld dword [esp + 0x28]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x28]
fld qword [0x4244e8]
fld dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
fisub dword [esp + 0x10]
fsub qword [0x41f840]
fucompp
fnstsw ax
fld qword [0x4244e8]
fadd st(1)
fstp qword [0x4244e8]
test ah, 0x44
jnp 0x407df2
fstp st(0)
fld qword [0x423128]
fsubr qword [0x41f838]
fsub qword [0x41f830]
fmul qword [0x4235a8]
fstp qword [0x4235a8]
jmp 0x407e55
mov ecx, dword [esp + 0x14]
add ecx, 0x6e34254b
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fadd qword [esp + 0x20]
mov edx, dword [esp + 0x14]
inc dword [esp + 0x14]
add edx, 0x498265f6
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fcompp
fnstsw ax
fld qword [esp + 0x20]
fsub st(1)
fstp qword [esp + 0x20]
test ah, 0x41
jne 0x407e53
fld qword [0x424ae0]
fsubr qword [0x41f828]
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fsubr qword [0x424ae0]
fstp qword [0x424ae0]
jmp 0x407e55
fstp st(0)
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
fld qword [0x424b40]
fadd qword [0x41f820]
mov dword [0x4277b8], eax
call fcn.0040b5d0
mov dword [esp + 0x10], eax
fld qword [0x424b40]
fsub qword [0x41f340]
or ebp, 0xffffffff
mov dword [esp + 0x2c], 0x30
mov eax, 0xf70f3d6
fstp qword [0x424b40]
add dword [0x425364], ebp
add word [0x4244a0], bp
mov ecx, dword [0x424490]
mov edx, dword [0x425364]
sub eax, ecx
mov cx, word [0x4244a0]
add eax, edx
movsx edx, cx
mov ecx, 0xa7dd7636
sub ecx, edx
cmp eax, ecx
jge 0x407eed
fld qword [0x4230f8]
mov edx, dword [0x424ba8]
mov eax, 0x9e271c0f
sub eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fsubp st(1)
fstp qword [0x4230f8]
mov ecx, dword [0x4277b8]
push 1
push esi
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 0x406f60
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
call fcn.00401170
add esp, 8
push 0x7f00
push ebx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
movzx edx, word [esp + 0x18]
mov dword [esp + 0x48], eax
movsx eax, dx
movzx edx, word [esp + 0x18]
mov ecx, 0xd0af6c4f
sub ecx, eax
movsx eax, dx
sub ecx, eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x78]
push 1
fild dword [esp + 0x14]
fadd qword [esp + 0x24]
mov dword [esp + 0x50], 6
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ecx
fstp qword [esp + 0x24]
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0xbb6
xor eax, eax
push ebx
mov word [esp + 0x24], ax
mov dword [esp + 0x18], ebx
push esi
call fcn.0040b710
push esi
call fcn.0040b67b
mov dword [esp + 0x20], ebx
xor ecx, ecx
mov dword [esp + 0x20], ebx
push 0x15
mov word [esp + 0x30], cx
call fcn.0040b813
mov edx, dword [0x424a60]
mov esi, eax
mov dword [esi], edx
mov eax, dword [0x424a64]
mov dword [esi + 4], eax
mov ecx, dword [0x424a68]
mov dword [esi + 8], ecx
mov edx, dword [0x424a6c]
mov dword [esi + 0xc], edx
mov eax, dword [0x424a70]
mov dword [esi + 0x10], eax
mov cl, byte [0x424a74]
mov byte [esi + 0x14], cl
mov eax, dword [0x4277c4]
sub eax, 0x423004
lea edi, [esi + 0x15]
add esp, 0x14
add eax, 0x424a60
mov ecx, esi
cmp esi, edi
je 0x40801a
lea esp, [esp]
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x408010
mov eax, dword [0x4277b8]
push ebx
push eax
push ebx
push ebx
push ebx
push connect
push ebx
push connect
push 0xc80000
push esi
lea ecx, [esp + 0xa0]
push ecx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor edx, edx
mov dword [esi + 0xc], eax
mov word [esp + 0x1c], dx
mov dword [esi + 0x10], eax
push esi
mov dword [esp + 0x14], ebx
mov byte [esi + 0x14], al
call fcn.0040b67b
add esp, 4
cmp edi, ebx
je 0x40815b
movzx eax, word [0x424208]
push 1
sub eax, 0x1b97eb02
mov word [0x424208], ax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x14], ebp
cmp ecx, 0x63ac9e20
je 0x4080d6
fld dword [0x42493c]
fadd qword [0x41f340]
fstp dword [0x42493c]
fld dword [0x42493c]
fadd qword [0x41f818]
fsub qword [0x41f810]
call fcn.0040b5d0
mov dword [esp + 0x14], eax
jmp 0x408108
mov dx, word [0x42314c]
movsx eax, dx
cmp eax, 0x1202f211
jge 0x408108
fld qword [esp + 0x20]
fsubr qword [0x41f808]
call fcn.0040b5d0
mov dword [esp + 0x10], eax
fld qword [esp + 0x20]
fsub qword [0x41f340]
fstp qword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x68]
push ecx
call esi
test eax, eax
je 0x408144
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea edx, [esp + 0x5c]
push edx
call edi
lea eax, [esp + 0x5c]
push eax
call ebp
push ebx
push ebx
push ebx
lea ecx, [esp + 0x68]
push ecx
call esi
test eax, eax
jne 0x408128
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040bcf4
add esp, 0x74
ret
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040bcf4
add esp, 0x74
ret