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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x426110]
xor eax, esp
mov dword [esp + 0x68], eax
fldz
push ebx
xor ebx, ebx
fstp qword [esp + 0x10]
push ebp
mov dword [esp + 0xc], ebx
xor eax, eax
mov dword [esp + 0x10], ebx
push esi
mov word [esp + 0xc], ax
push edi
mov dword [esp + 0x18], ebx
mov byte [esp + 0x77], bl
xor ecx, ecx
movsx eax, byte [ecx + 0x4249a0]
cdq
mov esi, 0x1a
idiv esi
inc ecx
add dl, 0x61
mov byte [esp + ecx + 0x6f], dl
cmp ecx, 7
jne 0x406a63
push 0xbb6
push 0x4249a0
call fcn.00402370
add esp, 8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
fld qword [0x424428]
fsub qword [0x41f348]
mov dword [0x427918], eax
mov dword [esp + 0x24], 0x30
xor edx, edx
fstp qword [0x424428]
push ebx
fld qword [0x424428]
fadd qword [0x425fc0]
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 0x405d50
mov dword [esp + 0x34], ebx
fstp qword [0x425fc0]
mov dword [esp + 0x38], ebx
fld dword [0x425a44]
mov ecx, dword [0x427918]
fmul qword [0x41f7d0]
mov dword [esp + 0x3c], ecx
fstp dword [0x425a44]
fld qword [0x425f38]
fld qword [esp + 0x20]
fsubr qword [0x41f7c8]
fsub qword [0x41f7c0]
fsubp st(1)
fstp qword [0x425f38]
movzx ecx, byte [esi + 0x16]
fldz
mov word [esp + 0x14], dx
fstp dword [esp + 0x20]
movzx eax, word [esp + 0x14]
movzx edx, word [esp + 0x14]
lea eax, [eax + edx - 0x6c04738f]
movzx edx, byte [esi + 0x17]
push edx
push ecx
mov ecx, dword [esi + 0x1e]
push 0x30000
mov word [esp + 0x20], ax
mov eax, dword [esi + 0x22]
push 1
add eax, esi
push ecx
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push 0x7f00
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
lea edx, [esp + 0x70]
push 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 6
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
fld qword [0x423ce8]
fsub qword [0x425fb0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
push eax
fadd qword [0x425a50]
fstp qword [0x425a50]
call dword [sym.imp.USER32.dll_RegisterClassExA]
fldz
push 0xbb6
push ebx
fstp qword [esp + 0x24]
mov dword [esp + 0x24], ebx
push esi
call fcn.0040b450
push esi
call fcn.0040ae7f
mov cx, word [0x425a58]
movzx edx, word [0x425a5c]
movsx eax, cx
movsx ecx, dx
mov edx, dword [esp + 0x24]
add eax, ecx
add edx, eax
mov word [0x425a5c], dx
or ebp, 0xffffffff
add word [0x425a58], bp
inc dword [esp + 0x24]
push 0x15
push str..l__a
call fcn.00402370
mov esi, eax
mov eax, dword [0x425f80]
mov ecx, dword [0x423f8c]
add eax, 0xe636a9cd
add esp, 0x18
cmp ecx, eax
jl 0x406c57
fld dword [0x423ecc]
mov edx, dword [0x423c44]
fsub qword [0x41f7b8]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
faddp st(1)
call fcn.0040b030
mov dword [0x423c44], eax
jmp 0x406c69
fld dword [0x425fe4]
fmul dword [0x424088]
fstp dword [0x424088]
mov eax, dword [0x427918]
push ebx
push eax
push ebx
push ebx
push ebx
push connect
push ebx
push connect
push 0xc80000
push esi
lea ecx, [esp + 0x98]
push ecx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
fldz
mov edi, eax
fstp qword [esp + 0x1c]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push esi
mov dword [esp + 0x20], ebx
mov byte [esi + 0x14], al
call fcn.0040ae7f
add esp, 4
cmp edi, ebx
je 0x406dc1
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
fld dword [0x423f18]
fsub qword [0x41f7b0]
fcomp qword [0x41f7a8]
fnstsw ax
test ah, 0x44
jp 0x406d19
fld qword [0x4257b8]
mov dx, word [0x42566c]
fadd qword [0x41f7a0]
movsx eax, dx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmulp st(1)
call fcn.0040b030
mov word [0x42566c], ax
jmp 0x406d46
fld dword [0x423f28]
mov cx, word [0x423d14]
mov edx, dword [esp + 0x18]
movsx eax, cx
add eax, 0xf7e35042
add edx, eax
mov dword [esp + 0x14], edx
fisub dword [esp + 0x14]
fstp dword [0x423f28]
add dword [esp + 0x18], ebp
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea eax, [esp + 0x60]
push eax
call esi
test eax, eax
je 0x406daa
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x406d70
lea edx, [esp + 0x54]
mov ecx, 0xffffc6b8
mov word [esp + 0x10], cx
push edx
call edi
movzx eax, word [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, ecx
lea edx, [esp + 0x54]
mov word [esp + 0x10], ax
dec dword [esp + 0x18]
push edx
call ebp
push ebx
push ebx
push ebx
lea eax, [esp + 0x60]
push eax
call esi
test eax, eax
jne 0x406d70
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0040b4ca
add esp, 0x6c
ret
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040b4ca
add esp, 0x6c
ret