Function at 0x404070
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
mov esi, dword [0x42718c]
sub esi, dword [0x427188]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, ebp
call edi
add eax, 0x7d0
mov dword [0x413180], eax
test esi, esi
jle 0x40432b
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push dword [0x427190]
push dword [0x40e010]
call ebx
push 0
push 0
push dword [0x427188]
push dword [0x40e014]
call ebx
mov dword [0x427198], esi
mov dword [0x42719c], 0
mov ebx, dword [0x427194]
mov eax, 0x4000
sub ebx, dword [0x427190]
cmp ebx, eax
cmovg ebx, eax
push ebx
push 0x41b188
push dword [0x40e010]
call fcn.00408b50
test eax, eax
je 0x404378
add dword [0x427190], ebx
mov ecx, dword [0x427188]
mov dword [0x4271c0], 0x41b188
mov dword [0x4271c4], ebx
mov edi, edi
cmp dword [0x439564], 0
je 0x4041f3
cmp dword [0x439640], 0
jne 0x4041f3
mov eax, dword [0x427198]
sub eax, dword [0x42718c]
sub eax, ebp
add eax, ecx
cmp dword [0x4271a0], 0
mov dword [0x42719c], eax
je 0x404173
push 0
call fcn.00408150
jmp 0x4041f3
call edi
cmp eax, dword [0x413180]
jbe 0x4041f3
cmp dword [0x437518], 0
je 0x4041ce
test byte [0x439654], 1
je 0x4041f3
mov ecx, dword [0x427198]
cmp dword [0x42719c], ecx
push ecx
cmovb ecx, dword [0x42719c]
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [esp + 0x14]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0
call fcn.00407bd0
jmp 0x4041f3
push 0
push 0x404a40
push 0
push 0x6f
push dword [0x437514]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push eax
mov dword [0x4271a0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x4271a8
mov dword [0x4271c8], 0x41f188
mov dword [0x4271cc], 0x8000
call fcn.00409750
test eax, eax
js 0x404366
mov esi, dword [0x4271c8]
sub esi, 0x41f188
je 0x4042a3
cmp dword [0x41317c], 0
je 0x40426d
mov eax, dword [0x40e014]
mov edi, dword [0x439554]
push 0
push esi
push 0x41f188
push 0x439540
mov dword [0x439548], eax
call fcn.004093a0
add esp, 0x10
test eax, eax
jne 0x404354
mov esi, dword [0x439554]
sub esi, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x404286
push esi
push 0x41f188
push dword [0x40e014]
call fcn.00408c50
test eax, eax
je 0x404354
mov ecx, dword [0x427188]
add ecx, esi
cmp dword [0x4271c4], 0
mov dword [0x427188], ecx
jne 0x404130
jmp 0x404306
cmp dword [0x4271c4], 0
jne 0x4042b8
test ebx, ebx
je 0x4042b8
mov ecx, dword [0x427188]
jmp 0x404306
cmp dword [0x41317c], 0
je 0x404366
mov eax, dword [0x40e014]
mov esi, dword [0x439554]
push 0
push 0
push 0x41f188
push 0x439540
mov dword [0x439548], eax
call fcn.004092e0
add esp, 0x10
test eax, eax
jne 0x404366
mov eax, dword [0x439554]
sub eax, esi
je 0x404366
mov ecx, dword [0x427188]
add ecx, eax
mov dword [0x427188], ecx
mov edx, dword [0x42718c]
mov eax, edx
sub eax, ecx
add eax, ebp
test eax, eax
jg 0x4040e3
push 0
push 0
push edx
push dword [0x40e014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x4271a0]
test eax, eax
je 0x40433b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebp
mov dword [0x4271a0], 0
xor eax, eax
pop ebx
add esp, 0x80
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x80
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x80
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x80
ret 4