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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x426040]
xor eax, esp
mov dword [esp + 0x78], eax
fldz
push ebx
fst qword [esp + 0x20]
push ebp
fstp qword [esp + 0x1c]
xor eax, eax
fldz
xor ecx, ecx
mov word [esp + 8], ax
fstp dword [esp + 0xc]
push esi
xor ebx, ebx
push edi
mov word [esp + 0x20], cx
mov byte [esp + 0x87], bl
lea ebp, [eax + 1]
lea esp, [esp]
movsx eax, byte [ecx + 0x423ce8]
cdq
mov esi, 0x1a
idiv esi
add dl, 0x61
mov byte [esp + ecx + 0x80], dl
add ecx, ebp
cmp ecx, 7
jne 0x407120
mov dx, word [esp + 0x10]
movsx eax, dx
or edi, 0xffffffff
add dword [esp + 0x10], edi
cmp eax, 0x3344dd7
je 0x40719f
fld qword [0x423698]
fadd qword [0x41f358]
fstp qword [0x423698]
fld qword [0x423698]
mov ecx, dword [0x423c14]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
faddp st(1)
fadd qword [0x41f7e8]
fcomp qword [0x41f7e0]
fnstsw ax
test ah, 0x44
jp 0x40719f
mov edx, dword [0x423120]
fld qword [0x4230a8]
fstp st(0)
push 0xbb6
push 0x423ce8
call fcn.00401ab0
fld dword [0x4234f0]
mov esi, eax
mov ax, word [esp + 0x18]
movsx ecx, ax
mov dword [esp + 0x20], ecx
add esp, 8
push ebx
fild dword [esp + 0x1c]
faddp st(1)
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
fld qword [0x4248b8]
mov dword [0x427838], eax
fsub qword [0x41f7d8]
mov dword [esp + 0x50], 0x30
mov dword [esp + 0x54], 3
mov dword [esp + 0x58], 0x405a00
fsub qword [0x41f7d0]
mov dword [esp + 0x5c], ebx
fcomp qword [0x41f7c8]
fnstsw ax
fld qword [0x4248b8]
fadd qword [0x41f358]
fstp qword [0x4248b8]
test ah, 0x44
jp 0x40723e
fld qword [0x4233b0]
fsub qword [esp + 0x24]
fstp qword [0x4233b0]
jmp 0x407262
fld qword [esp + 0x24]
mov edx, dword [0x423cbc]
fsub qword [0x41f7c0]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
faddp st(1)
call fcn.0040b140
mov dword [0x423cbc], eax
movzx eax, word [0x4233f0]
fldz
movzx ecx, word [esp + 0x10]
cwde
lea edx, [ecx + eax - 0x6f712496]
mov eax, dword [0x427838]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x22]
mov word [esp + 0x10], dx
mov ecx, 0xffffcff2
mov word [esp + 0x10], cx
movzx ecx, byte [esi + 0x16]
xor edx, edx
push ebx
mov word [esp + 0x1c], dx
movzx edx, byte [esi + 0x17]
fstp qword [esp + 0x1c]
push edx
push ecx
mov ecx, dword [esi + 0x1e]
push 0x30000
push ebp
add eax, esi
push ecx
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push 0x7f00
push ebx
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
lea edx, [esp + 0x80]
push ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 6
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0xbb6
xor ecx, ecx
push ebx
mov word [esp + 0x20], cx
mov dword [esp + 0x20], ebx
push esi
call fcn.0040b0c0
push esi
call fcn.0040b02e
mov dx, word [0x425f34]
mov eax, dword [0x42308c]
movsx ecx, dx
sub eax, ecx
mov ecx, dword [0x425724]
mov edx, dword [0x425f40]
sub eax, ecx
add edx, eax
mov dword [0x42308c], edx
add dword [0x425724], edi
add dword [0x425f40], edi
add word [0x425f34], di
push 0x15
push 0x4237a8
call fcn.00401ab0
add esp, 0x18
push ebx
mov esi, eax
mov eax, dword [0x427838]
push eax
push ebx
push ebx
push ebx
push connect
push ebx
push connect
push 0xc80000
push esi
lea ecx, [esp + 0xa8]
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 + 0x18], dx
mov dword [esi + 0x10], eax
mov dword [esp + 0x18], ebx
push esi
mov byte [esi + 0x14], al
call fcn.0040b02e
movzx eax, word [0x424958]
movzx ecx, word [esp + 0x14]
cwde
add eax, 0xddb5fccc
imul ecx, eax
mov word [esp + 0x14], cx
add word [0x424958], bp
add esp, 4
cmp edi, ebx
je 0x40747b
push ebp
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
call esi
test eax, eax
je 0x407460
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x407420
lea eax, [esp + 0x34]
push eax
call edi
fld qword [0x423740]
mov cx, word [esp + 0x10]
movsx edx, cx
add edx, 0x24e65fb5
mov dword [esp + 0x20], edx
lea eax, [esp + 0x34]
push eax
fild dword [esp + 0x24]
fsubp st(1)
fstp qword [0x423740]
call ebp
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ecx
call esi
test eax, eax
jne 0x407420
fld dword [esp + 0x14]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld dword [esp + 0x14]
fsub qword [0x41f358]
jmp 0x40758c
add dword [esp + 0x10], ebp
mov dx, word [esp + 0x10]
movsx eax, dx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld qword [0x425718]
fucompp
fnstsw ax
fld qword [0x425718]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x425718]
test ah, 0x44
jnp 0x4074d8
fld qword [0x424948]
mov cx, word [esp + 0x10]
fadd qword [0x41f7b8]
movsx edx, cx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fsubp st(1)
call fcn.0040b140
mov dword [0x4237d4], eax
fld dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
fadd st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ax, word [esp + 0x20]
fsub qword [0x41f7b0]
movsx ecx, ax
add ecx, 0x25d08f9b
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 5
jp 0x407576
fld dword [0x423c7c]
fsub st(1)
fstp dword [0x423c7c]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
mov dx, word [0x423cdc]
movsx eax, dx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub dword [0x423c7c]
mov cx, word [esp + 0x20]
movsx edx, cx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fadd qword [esp + 0x2c]
fadd qword [esp + 0x24]
add dword [esp + 0x20], ebp
add word [0x423cdc], bp
fucompp
fnstsw ax
test ah, 0x44
jp 0x407590
mov ax, word [esp + 0x10]
fld qword [esp + 0x2c]
fstp st(0)
jmp 0x407590
fstp st(0)
fld dword [esp + 0x14]
fadd qword [0x41f7a8]
fsub qword [0x41f7a0]
fmul dword [esp + 0x14]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b675
add esp, 0x7c
ret