Function at 0x41fc98
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x20], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x420264
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xc0]
push eax
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x16]
mov ecx, dword [ebx + 0xc4]
call fcn.0041eed4
mov eax, 0xffff
call fcn.0040254c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0xffff
call fcn.00402918
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.0041eb10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0xc]
mov dword [esi], 0x80c800c0
xor eax, eax
mov dword [esi + 4], eax
xor eax, eax
mov al, byte [ebx + 0xbc]
add ax, 5
mov word [esi + 8], ax
mov word [esi + 0xa], 0
mov word [esi + 0xc], 0
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x420274]
call fcn.004027e0
mov word [esi + 0xe], ax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x420278]
call fcn.004027e0
mov word [esi + 0x10], ax
mov eax, dword [ebp - 0xc]
add eax, 0x12
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xa8]
call fcn.00403684
mov ecx, eax
add ecx, ecx
add ecx, 2
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xa8]
call fcn.00403c20
mov eax, dword [ebx + 0xa8]
call fcn.00403684
add eax, eax
add eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dx, word [ebx + 0xc4]
mov word [eax], dx
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x140]
mov edx, dword [ebx + 0xc0]
mov ecx, 0xff
call fcn.00403660
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00403628
mov eax, dword [ebp - 0x144]
xor edx, edx
mov dl, byte [ebp - 0x140]
mov esi, edx
add esi, esi
mov ecx, esi
add ecx, 2
mov edx, dword [ebp - 0xc]
call fcn.00403c20
add esi, dword [ebp - 0xc]
add esi, 2
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x42027c]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x420280]
call fcn.004027e0
push eax
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x420284]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x420288]
call fcn.004027e0
push eax
push 0x80
push 0x420294
push 1
lea eax, [ebp - 0xc]
mov cx, 1
mov edx, 0x10001
call fcn.0041eb1c
cmp byte [ebx + 0xbc], 0
je 0x41fef5
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x420298]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x42029c]
call fcn.004027e0
push eax
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202a0]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x420288]
call fcn.004027e0
push eax
push 0x80
push 0x4202ac
push 1
lea eax, [ebp - 0xc]
mov cx, 4
mov edx, 0x10000
call fcn.0041eb1c
lea eax, [ebp - 0x20]
call fcn.00403408
mov eax, dword [ebx + 0xac]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x41ff4c
inc esi
mov dword [ebp - 0x24], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x144]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0xac]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x144]
push 0x4202bc
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403744
inc dword [ebp - 0x24]
dec esi
jne 0x41ff17
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202c0]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202c4]
call fcn.004027e0
push eax
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202c8]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202cc]
call fcn.004027e0
push eax
push 0x82
mov eax, dword [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0xc]
mov cx, 0xca
xor edx, edx
call fcn.0041eb1c
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202c0]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202d0]
call fcn.004027e0
push eax
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202d4]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202d8]
call fcn.004027e0
push eax
push 0x82
mov eax, dword [ebx + 0xb0]
push eax
push 1
lea eax, [ebp - 0xc]
mov cx, 0xcb
xor edx, edx
call fcn.0041eb1c
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202c0]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202dc]
call fcn.004027e0
push eax
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202e0]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202e4]
call fcn.004027e0
push eax
push 0x82
mov eax, dword [ebx + 0xb4]
push eax
push 1
lea eax, [ebp - 0xc]
mov cx, 0xcc
xor edx, edx
call fcn.0041eb1c
lea eax, [ebp - 0x20]
call fcn.00403408
mov eax, dword [ebx + 0xb8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4200e4
inc esi
mov dword [ebp - 0x24], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x144]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0xb8]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x144]
push 0x4202bc
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403744
inc dword [ebp - 0x24]
dec esi
jne 0x4200af
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202c0]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202e8]
call fcn.004027e0
push eax
lea eax, [ebp - 0x16]
call fcn.00404e04
fdivr dword [0x4202c8]
call fcn.004027e0
push eax
lea eax, [ebp - 0x1c]
call fcn.00404e04
fdivr dword [0x4202ec]
call fcn.004027e0
push eax
push 0x82
mov eax, dword [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0xc]
mov cx, 0xcd
xor edx, edx
call fcn.0041eb1c
push 0x41fb98
mov eax, dword [ebp - 0x10]
mov edx, eax
mov eax, dword [0x4238f4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call fcn.00405604
mov dword [0x423870], eax
push 5
mov eax, dword [0x423870]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x423870]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [0x423870]
push eax
call sub.user32.dll_GetDC
mov esi, eax
mov eax, dword [ebx + 0xc0]
call fcn.00403848
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0x48
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
push eax
mov eax, dword [ebx + 0xc4]
push eax
call sub.kernel32.dll_MulDiv
neg eax
push eax
call sub.gdi32.dll_CreateFontA
mov ebx, eax
push esi
mov eax, dword [0x423870]
push eax
call sub.user32.dll_ReleaseDC
push 1
push ebx
push 0x30
push 0xcc
mov eax, dword [0x423870]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
cmp dword [0x423870], 0
je 0x420229
jmp 0x420216
lea eax, [ebp - 0x40]
push eax
mov eax, dword [0x423870]
push eax
call sub.user32.dll_IsDialogMessageA
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x420207
mov eax, dword [0x423870]
push eax
call sub.user32.dll_DestroyWindow
mov eax, dword [ebp - 8]
call fcn.00402564
xor eax, eax
mov dword [0x423870], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42026b
lea eax, [ebp - 0x144]
call fcn.00403408
lea eax, [ebp - 0x20]
call fcn.00403408
ret