Function at 0x40b0ed
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push sym.FoxShell2013.exe_FORM1_WNDPROC
xor esi, esi
mov ecx, 0x5c
push esi
dec ecx
jne 0x40b107
mov eax, dword [ebp + 0xc]
call fcn.0040cda5
fstp xword [ebp - 0x50]
fild dword [0x40f64c]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b30b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1d8], eax
mov ebx, dword [ebp - 0x1d8]
mov eax, dword [ebx + 4]
call fcn.0040cda5
fstp xword [ebp - 0x50]
fild dword [0x40fc44]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b2ce
mov ebx, dword [ebp - 0x1d8]
fild dword [ebx + 8]
fstp xword [ebp - 0x50]
fild dword [0x40f3d8]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b224
lea ebx, [ebp - 0x1f0]
push ebx
push dword [ebp - 0x1d8]
push dword [ebp + 8]
call fcn.0040a45d
test eax, eax
mov eax, 0xffffffff
jne 0x40b197
inc eax
test eax, eax
je 0x40b1b0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x98], eax
jmp 0x40bd84
push 0
push 0
push 0x130b
mov ebx, dword [ebp - 0x1d8]
push dword [ebx]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1b8], 8
lea ebx, [ebp - 0x1b8]
push ebx
push dword [ebp - 0x1f4]
push 0x1305
mov ebx, dword [ebp - 0x1d8]
push dword [ebx]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push 5
push dword [ebp - 0x1a0]
call dword [sym.imp.USER32.DLL_ShowWindow]
fldcw word [ebp - 0x10]
mov ebx, dword [ebp - 0x1d8]
push dword [ebx]
call dword [sym.imp.USER32.DLL_SetFocus]
fldcw word [ebp - 0x10]
jmp 0x40b2ce
fild dword [0x40f3dc]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b2ce
lea ebx, [ebp - 0x1f0]
push ebx
push dword [ebp - 0x1d8]
push dword [ebp + 8]
call fcn.0040a494
test eax, eax
mov eax, 0xffffffff
jne 0x40b257
inc eax
test eax, eax
je 0x40b270
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x98], eax
jmp 0x40bd84
push 0
push 0
push 0x130b
mov ebx, dword [ebp - 0x1d8]
push dword [ebx]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1b8], 8
lea ebx, [ebp - 0x1b8]
push ebx
push dword [ebp - 0x1f4]
push 0x1305
mov ebx, dword [ebp - 0x1d8]
push dword [ebx]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push 0
push dword [ebp - 0x1a0]
call dword [sym.imp.USER32.DLL_ShowWindow]
fldcw word [ebp - 0x10]
lea ebx, [ebp - 0x1f0]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040a3b8
test eax, eax
mov eax, 0xffffffff
jne 0x40b2ed
inc eax
test eax, eax
je 0x40b306
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x98], eax
jmp 0x40bd84
jmp 0x40bd69
fild dword [0x40f7f0]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b3cb
lea ebx, [ebp - 0x1d4]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetClientRect]
fldcw word [ebp - 0x10]
push 0xffffff
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.DLL_SetBkColor]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xffffff
mov dword [ebp - 0x1bc], 0
lea ebx, [ebp - 0x1c4]
push ebx
call dword [sym.imp.GDI32.DLL_CreateBrushIndirect]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e8], eax
push dword [ebp - 0x1e8]
lea ebx, [ebp - 0x1d4]
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.USER32.DLL_FillRect]
fldcw word [ebp - 0x10]
push dword [ebp - 0x1e8]
call dword [sym.imp.GDI32.DLL_DeleteObject]
fldcw word [ebp - 0x10]
push dword [ebp - 0x1ec]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.DLL_SetBkColor]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x98], 1
jmp 0x40bd84
fild dword [0x40f7f4]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b444
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x15
push 0x65
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x15
push 0x69
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x15
push 0x6a
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
jmp 0x40bd69
fild dword [0x40f668]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b489
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040a426
test eax, eax
mov eax, 0xffffffff
jne 0x40b46d
inc eax
test eax, eax
je 0x40b484
mov dword [ebp - 0x98], 0
jmp 0x40bd84
jmp 0x40bd69
fild dword [0x40f5c4]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b4ce
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040a3ef
test eax, eax
mov eax, 0xffffffff
jne 0x40b4b2
inc eax
test eax, eax
je 0x40b4c9
mov dword [ebp - 0x98], 0
jmp 0x40bd84
jmp 0x40bd69
fild dword [0x40f59c]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b510
push dword [ebp + 8]
call fcn.0040a275
test eax, eax
mov eax, 0xffffffff
jne 0x40b4f4
inc eax
test eax, eax
je 0x40b50b
mov dword [ebp - 0x98], 0
jmp 0x40bd84
jmp 0x40bd69
fild dword [0x40f7ec]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b561
lea ebx, [ebp - 0x1f0]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040a313
test eax, eax
mov eax, 0xffffffff
jne 0x40b543
inc eax
test eax, eax
je 0x40b55c
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x98], eax
jmp 0x40bd84
jmp 0x40bd69
fild dword [0x40f5a8]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b5ef
push 0x66
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_DestroyWindow]
fldcw word [ebp - 0x10]
push 0x67
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_DestroyWindow]
fldcw word [ebp - 0x10]
push 0x68
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.USER32.DLL_DestroyWindow]
fldcw word [ebp - 0x10]
lea ebx, [ebp - 0x1f0]
push ebx
push dword [ebp + 8]
call fcn.0040a2e3
push dword [ebp - 0x1f0]
call dword [sym.imp.USER32.DLL_PostQuitMessage]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x98], 0
jmp 0x40bd84
fild dword [0x40f66c]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b682
fild dword [0x40f7fc]
mov eax, dword [ebp + 0x10]
call fcn.0040cda5
fcompp
fnstsw ax
sahf
je 0x40b634
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [0x40e83c]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
mov eax, dword [ebp + 0x14]
shr eax, 0x10
push eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040a34a
test eax, eax
mov eax, 0xffffffff
jne 0x40b657
inc eax
test eax, eax
je 0x40b66e
mov dword [ebp - 0x98], 0
jmp 0x40bd84
mov dword [ebp - 0x98], 0
jmp 0x40bd84
mov eax, dword [0x40e83c]
call fcn.0040cda5
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b6ed
push 0x6a
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 5
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push 1
push 0
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_InvalidateRect]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x98], 0
jmp 0x40bd84
fild dword [0x40f654]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40b72f
push dword [ebp + 8]
call fcn.0040a381
test eax, eax
mov eax, 0xffffffff
jne 0x40b713
inc eax
test eax, eax
je 0x40b72a
mov dword [ebp - 0x98], 0
jmp 0x40bd84
jmp 0x40bd69
fild dword [0x40f5a4]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x40bd69
push 0x11
call dword [sym.imp.GDI32.DLL_GetStockObject]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e4], eax
push 0
push 0
push 0
push dword [0x40e838]
push 0x66
push dword [ebp + 8]
push 0xb7
push 0x1ad
push 0x2b
push 0x14
fild dword [0x40f694]
fild dword [0x40f68c]
call fcn.0040cd65
call fcn.0040cdcc
push eax
mov edx, 0x40e8dc
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
mov edx, 0x40e8e4
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
push 0x10000
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0040cd3a
mov eax, dword [ebx + 4]
call fcn.0040cd3a
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
push 0
push 0
push 0
push dword [0x40e838]
push 0x67
push dword [ebp + 8]
push 0xb7
push 0x1ad
push 0x2b
push 0x14
push 0x40000000
mov edx, 0x40e8dc
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
mov edx, 0x40e8fc
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
push 0x10000
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0040cd3a
mov eax, dword [ebx + 4]
call fcn.0040cd3a
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
push 0
push 0
push 0
push dword [0x40e838]
push 0x68
push dword [ebp + 8]
push 0xb7
push 0x1ad
push 0x2b
push 0x14
push 0x40000000
mov edx, 0x40e8dc
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
mov edx, 0x40e914
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
push 0x10000
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0040cd3a
mov eax, dword [ebx + 4]
call fcn.0040cd3a
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
push 0
push 0
push 0
push dword [0x40e838]
push 0x65
push dword [ebp + 8]
push 0xd1
push 0x1b5
push 0x15
push 0x10
fild dword [0x40f694]
fild dword [0x40f68c]
call fcn.0040cd65
fild dword [0x40f6c4]
call fcn.0040cd65
fild dword [0x40f6c8]
call fcn.0040cd65
fild dword [0x40f40c]
call fcn.0040cd65
fild dword [0x40f414]
call fcn.0040cd65
fild dword [0x40f420]
call fcn.0040cd65
call fcn.0040cdcc
push eax
mov edx, 0x40e8dc
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
mov edx, 0x40e874
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0040cd3a
mov eax, dword [ebx + 4]
call fcn.0040cd3a
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
push 1
push dword [ebp - 0x1e4]
push 0x30
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
mov edx, 0x40e92c
call fcn.0040d2e5
lea ebx, [ebp - 0x19c]
mov ecx, 0x104
call fcn.0040d1a8
fild dword [0x40f3c4]
fild dword [0x40f3b8]
call fcn.0040cd65
call fcn.0040cdcc
mov dword [ebp - 0x1b8], eax
lea ebx, [ebp - 0x19c]
mov eax, ebx
mov dword [ebp - 0x1ac], eax
push 0x66
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1a0], eax
lea ebx, [ebp - 0x1b8]
push ebx
push 0
push 0x1307
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
mov edx, 0x40e938
call fcn.0040d2e5
lea ebx, [ebp - 0x19c]
mov ecx, 0x104
call fcn.0040d1a8
fild dword [0x40f3c4]
fild dword [0x40f3b8]
call fcn.0040cd65
call fcn.0040cdcc
mov dword [ebp - 0x1b8], eax
lea ebx, [ebp - 0x19c]
mov eax, ebx
mov dword [ebp - 0x1ac], eax
push 0x67
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1a0], eax
lea ebx, [ebp - 0x1b8]
push ebx
push 1
push 0x1307
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
mov edx, 0x40e944
call fcn.0040d2e5
lea ebx, [ebp - 0x19c]
mov ecx, 0x104
call fcn.0040d1a8
fild dword [0x40f3c4]
fild dword [0x40f3b8]
call fcn.0040cd65
call fcn.0040cdcc
mov dword [ebp - 0x1b8], eax
lea ebx, [ebp - 0x19c]
mov eax, ebx
mov dword [ebp - 0x1ac], eax
push 0x68
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetDlgItem]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1a0], eax
lea ebx, [ebp - 0x1b8]
push ebx
push 2
push 0x1307
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push 0
push 0
push 0
push dword [0x40e838]
push 0x69
push dword [ebp + 8]
push 0x15
push 0x94
push 0x10e
push 0xab
fild dword [0x40f694]
fild dword [0x40f68c]
call fcn.0040cd65
fild dword [0x40f6c8]
call fcn.0040cd65
call fcn.0040cdcc
push eax
mov edx, 0x40e8dc
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
mov edx, 0x40e85c
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
push 0x200
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0040cd3a
mov eax, dword [ebx + 4]
call fcn.0040cd3a
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
push 0x64
push 0
push 0x406
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push 0
push 0
push 0x402
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push 0
push 0
push 0
push dword [0x40e838]
push 0x6a
push dword [ebp + 8]
push 0x16
push 0x203
push 0x144
push 0
fild dword [0x40f694]
fild dword [0x40f68c]
call fcn.0040cd65
fild dword [0x40eb70]
call fcn.0040cd65
fild dword [0x40f1e0]
call fcn.0040cd65
call fcn.0040cdcc
push eax
mov edx, 0x40e8dc
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
mov edx, 0x40e844
call fcn.0040d2e5
lea ebx, [esp + 0x28]
call fcn.0040ce95
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.0040cd3a
mov eax, dword [ebx + 4]
call fcn.0040cd3a
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
push 1
push dword [ebp - 0x1e4]
push 0x30
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
fild dword [0x40fd04]
fimul dword [0x40fc9c]
call fcn.0040cdcc
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
call fcn.0040cda5
ftst
fnstsw ax
sahf
fstp st(0)
mov eax, 0xffffffff
jne 0x40bcb7
inc eax
call fcn.0040cd9e
ftst
fnstsw ax
sahf
fstp st(0)
je 0x40bd10
mov ebx, dword [ebp - 0x1dc]
xor eax, eax
add ebx, eax
mov dword [ebx], 0x60
push dword [ebp - 0x1dc]
push 1
push 0x404
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
push dword [ebp - 0x1dc]
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
fldcw word [ebp - 0x10]
push 0
push 0
push 5
push dword [ebp - 0x1e0]
call dword [sym.imp.USER32.DLL_SendMessageA]
fldcw word [ebp - 0x10]
lea ebx, [ebp - 0x1f0]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0040a2ac
test eax, eax
mov eax, 0xffffffff
jne 0x40bd41
inc eax
test eax, eax
je 0x40bd5a
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x98], eax
jmp 0x40bd84
mov dword [ebp - 0x98], 0
jmp 0x40bd84
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_DefWindowProcA]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10