Function at 0x403f10
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 0x4041cb
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.004082d0
test eax, eax
je 0x404218
add dword [0x427190], ebx
mov ecx, dword [0x427188]
mov dword [0x4271c0], 0x41b188
mov dword [0x4271c4], ebx
mov edi, edi
cmp dword [0x439544], 0
je 0x404093
cmp dword [0x439620], 0
jne 0x404093
mov eax, dword [0x427198]
sub eax, dword [0x42718c]
sub eax, ebp
add eax, ecx
cmp dword [0x4271a0], 0
mov dword [0x42719c], eax
je 0x404013
push 0
call fcn.004079b0
jmp 0x404093
call edi
cmp eax, dword [0x413180]
jbe 0x404093
cmp dword [0x437518], 0
je 0x40406e
test byte [0x439634], 1
je 0x404093
mov ecx, dword [0x427198]
cmp dword [0x42719c], ecx
push ecx
cmovl 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.004074c0
jmp 0x404093
push 0
push 0x404920
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.00408ea0
test eax, eax
js 0x404206
mov esi, dword [0x4271c8]
sub esi, 0x41f188
je 0x404143
cmp dword [0x41317c], 0
je 0x40410d
mov eax, dword [0x40e014]
mov edi, dword [0x439534]
push 0
push esi
push 0x41f188
push 0x439520
mov dword [0x439528], eax
call fcn.00408af0
add esp, 0x10
test eax, eax
jne 0x4041f4
mov esi, dword [0x439534]
sub esi, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x404126
push esi
push 0x41f188
push dword [0x40e014]
call fcn.004083a0
test eax, eax
je 0x4041f4
mov ecx, dword [0x427188]
add ecx, esi
cmp dword [0x4271c4], 0
mov dword [0x427188], ecx
jne 0x403fd0
jmp 0x4041a6
cmp dword [0x4271c4], 0
jne 0x404158
test ebx, ebx
je 0x404158
mov ecx, dword [0x427188]
jmp 0x4041a6
cmp dword [0x41317c], 0
je 0x404206
mov eax, dword [0x40e014]
mov esi, dword [0x439534]
push 0
push 0
push 0x41f188
push 0x439520
mov dword [0x439528], eax
call fcn.00408a30
add esp, 0x10
test eax, eax
jne 0x404206
mov eax, dword [0x439534]
sub eax, esi
je 0x404206
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 0x403f83
push 0
push 0
push edx
push dword [0x40e014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x4271a0]
test eax, eax
je 0x4041db
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