Function at 0x418768
Capabilities:
Check for time delay via gettickcount
Delete file
Get file size
Prepare http request
Receive http response
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x418771
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
call fcn.00404da8
mov eax, dword [ebp + 8]
call fcn.00405bf0
xor eax, eax
push ebp
push 0x419e4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebp
push 0x419cb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404c40
jne 0x4187f9
push ebp
push 0
push 0
push 0
push 0
push 0x419e68
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
lea eax, [ebp - 0x88]
mov edx, 0x419e80
call fcn.00404a70
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0041a4a8
lea ecx, [ebp - 0xc8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0041a2d8
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x80]
call fcn.00404664
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0x84]
call fcn.00404664
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.0040b798
mov eax, dword [ebp - 0xcc]
call fcn.0040b370
mov byte [ebp - 0xae], 0
mov byte [ebp - 0xad], 0
mov byte [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x419ca4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x34], eax
push ebp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
xor eax, eax
call fcn.00418560
pop ecx
xor eax, eax
push ebp
push 0x419c3c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 8]
call fcn.0041723c
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x4b]
push eax
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.0041aadc
test al, al
jne 0x41896d
push ebp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xd4]
mov edx, dword [ebp - 0x7c]
call fcn.00404b64
mov eax, dword [ebp - 0xd4]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
cmp byte [ebp - 0x49], 0
je 0x41898a
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0xc4]
mov edx, 0x10
call fcn.004067d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
je 0x418f26
cmp byte [ebp - 0x4b], 0
je 0x4189de
push 0x800104
push 0
push 0
push 0x419e88
mov eax, dword [ebp - 0x8c]
call fcn.00404b74
push eax
push 0x419e9c
mov eax, dword [ebp - 0x18]
push eax
call sub.Winhttp.dll_WinHttpOpenRequest
mov dword [ebp - 0x1c], eax
jmp 0x418a09
push 0x104
push 0
push 0
push 0x419e88
mov eax, dword [ebp - 0x8c]
call fcn.00404b74
push eax
push 0x419e9c
mov eax, dword [ebp - 0x18]
push eax
call sub.Winhttp.dll_WinHttpOpenRequest
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x418be2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x98]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041b9f8
mov byte [ebp - 0x4a], al
cmp byte [ebp - 0x4a], 0
jne 0x418acf
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x418a70
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0xd8]
call fcn.0040c190
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x7c]
mov edx, 0x419eb0
call fcn.004046e8
jmp 0x418a7d
lea eax, [ebp - 0x7c]
mov edx, 0x419ecc
call fcn.00404464
push ebp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xdc]
mov edx, dword [ebp - 0x7c]
call fcn.00404b64
mov eax, dword [ebp - 0xdc]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
push ebp
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
call fcn.004186dc
pop ecx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea eax, [ebp - 0xc4]
call fcn.0040b4d4
mov eax, dword [ebp - 0x44]
xor edx, edx
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x2c]
jne 0x418b0d
cmp eax, dword [ecx + 0x28]
jbe 0x418b51
jmp 0x418b0f
jle 0x418b51
push ebp
push 0
push 0
push 0
push 0
push 0x419ee4
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
lea eax, [ebp - 0xe0]
mov edx, dword [ebp - 0x10]
call fcn.00404664
mov eax, dword [ebp - 0xe0]
call fcn.00417b44
test al, al
je 0x418bc5
mov eax, dword [ebp - 0x10]
call fcn.00417a10
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x418b86
cmp eax, dword [esp]
pop edx
pop eax
jne 0x418bc5
mov eax, dword [ebp - 0x10]
call fcn.00417a58
fcomp qword [ebp - 0xa8]
fnstsw ax
sahf
jne 0x418bc5
mov byte [ebp - 0xad], 1
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418be9
cmp dword [ebp - 0x1c], 0
je 0x418be1
mov eax, dword [ebp - 0x1c]
push eax
call sub.Winhttp.dll_WinHttpCloseHandle
ret
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x80]
call fcn.00417b44
test al, al
je 0x418f57
mov eax, dword [ebp - 0x80]
call fcn.0040489c
mov edx, eax
lea eax, [ebp - 0x108]
call fcn.004045d4
mov eax, dword [ebp - 0x108]
call fcn.0040b318
cmp byte [ebp - 0x4b], 0
je 0x418f91
push 0x800104
push 0
push 0
push 0x419e88
mov eax, dword [ebp - 0x8c]
call fcn.00404b74
push eax
mov eax, dword [ebp - 0x88]
call fcn.00404b74
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.Winhttp.dll_WinHttpOpenRequest
mov dword [ebp - 0x20], eax
jmp 0x418fc3
push 0x104
push 0
push 0
push 0x419e88
mov eax, dword [ebp - 0x8c]
call fcn.00404b74
push eax
mov eax, dword [ebp - 0x88]
call fcn.00404b74
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.Winhttp.dll_WinHttpOpenRequest
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x419ac8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x3c]
push eax
mov cl, byte [ebp - 0x4c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
call fcn.00417b74
test al, al
jne 0x419029
push ebp
push 0
push 0
push 0
push 0
push 0x419f4c
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x98]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0041b9f8
mov byte [ebp - 0x4a], al
cmp byte [ebp - 0x4a], 0
jne 0x4190f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.00404c40
jne 0x4190b5
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x4190a5
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x110]
call fcn.0040c190
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x10c]
mov edx, 0x419f68
call fcn.004046e8
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404b64
jmp 0x4190b5
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, 0x419f80
call fcn.00404a4c
push ebp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
cmp byte [ebp - 0x4c], 0
je 0x41915c
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0x84]
call fcn.00404664
mov eax, dword [ebp - 0x114]
call fcn.0040489c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x419317
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_SetFilePointer_1
jmp 0x419317
push ebp
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x20]
call fcn.004186dc
pop ecx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea eax, [ebp - 0xc4]
call fcn.0040b4d4
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 0x10]
call fcn.00404664
mov eax, dword [ebp - 0x118]
call fcn.00417b44
test al, al
je 0x4192e0
cmp dword [ebp - 0x44], 0
jbe 0x419204
mov eax, dword [ebp - 0x10]
call fcn.00417a10
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4191c5
cmp eax, dword [esp]
pop edx
pop eax
jne 0x419204
mov eax, dword [ebp - 0x10]
call fcn.00417a58
fcomp qword [ebp - 0xa8]
fnstsw ax
sahf
jne 0x419204
mov byte [ebp - 0xad], 1
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
mov eax, dword [ebp - 0x10]
call fcn.00404b74
push eax
call sub.kernel32.dll_DeleteFileW
test eax, eax
jne 0x4192e0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x10]
call fcn.00404664
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040b714
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x138]
call fcn.0040c190
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0xb
lea edx, [ebp - 0x12c]
mov ecx, 1
mov eax, 0x419f9c
call fcn.0040bc08
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00404b64
push ebp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x84]
call fcn.00404664
mov eax, dword [ebp - 0x13c]
call fcn.0040489c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4193ae
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x41934f
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x140]
call fcn.0040c190
mov ecx, dword [ebp - 0x140]
lea eax, [ebp - 0x7c]
mov edx, 0x419fcc
call fcn.004046e8
jmp 0x41935c
lea eax, [ebp - 0x7c]
mov edx, 0x419fe8
call fcn.00404464
push ebp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x7c]
call fcn.00404b64
mov eax, dword [ebp - 0x144]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
xor eax, eax
push ebp
push 0x419aa4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call fcn.00405c8c
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x419468
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x419404
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x148]
call fcn.0040c190
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x7c]
mov edx, 0x41a004
call fcn.004046e8
jmp 0x419411
lea eax, [ebp - 0x7c]
mov edx, 0x41a01c
call fcn.00404464
push ebp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x7c]
call fcn.00404b64
mov eax, dword [ebp - 0x14c]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
xor eax, eax
push ebp
push 0x419a4f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push ebp
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 1
call fcn.00418560
pop ecx
cmp byte [ebp - 0x49], 0
je 0x419512
mov dword [ebp - 0xc], 1
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
cmp dword [ebp - 0x5c], 0
jne 0x41952b
cmp dword [ebp - 0x60], 0
jne 0x41952b
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
xor eax, eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.Winhttp.dll_WinHttpReadData
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x4a], al
cmp byte [ebp - 0x4a], 0
je 0x419976
cmp dword [ebp - 0x30], 0
jbe 0x419870
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x34], eax
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x419593
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FlushFileBuffers
test eax, eax
jne 0x419597
xor eax, eax
jmp 0x419599
mov al, 1
mov byte [ebp - 0x4a], al
cmp byte [ebp - 0x4a], 0
jne 0x41962b
push ebp
push 0
push 0
push 0
push 0
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x158]
call fcn.0040c190
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 0x41a034
call fcn.004046e8
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
call fcn.00404b64
mov eax, dword [ebp - 0x150]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x30]
je 0x4196e5
push ebp
push 0
push 0
push 0
push 0
push 0x41a048
mov eax, dword [ebp - 0x30]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x164]
call fcn.0040a784
push dword [ebp - 0x164]
push 0x41a05c
mov eax, dword [ebp - 0x38]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x168]
call fcn.0040a784
push dword [ebp - 0x168]
push 0x41a074
lea eax, [ebp - 0x160]
mov edx, 5
call fcn.0040475c
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
call fcn.00404b64
mov eax, dword [ebp - 0x15c]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
je 0x419727
mov eax, dword [ebp - 0x80]
call fcn.0040489c
push eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x16c]
call fcn.0040a784
mov eax, dword [ebp - 0x16c]
call fcn.0040489c
push eax
push 0x419f2c
push 0x419f3c
call sub.kernel32.dll_WritePrivateProfileStringA
mov eax, dword [ebp - 0x30]
xor edx, edx
add eax, dword [ebp - 0x70]
adc edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
sub eax, dword [ebp - 0x60]
sbb edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0
jne 0x419760
cmp dword [ebp - 0x58], 0x3e8
jb 0x4197ee
jmp 0x419766
jl 0x4197ee
cmp dword [ebp - 0x44], 0
jbe 0x4197ab
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x44]
ja 0x4197ab
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x174], eax
xor eax, eax
mov dword [ebp - 0x170], eax
fild qword [ebp - 0x174]
fild qword [ebp - 0x70]
fdivp st(1)
fild qword [ebp - 0x58]
fmulp st(1)
call fcn.00402de0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp 0x4197b9
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
fild qword [ebp - 0x70]
fild qword [ebp - 0x58]
fdivp st(1)
fmul dword [0x41a084]
call fcn.00402de0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x54], 0
jne 0x419803
cmp dword [ebp - 0x58], 0x1f4
jbe 0x419512
jmp 0x419809
jle 0x419512
push ebp
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 1
call fcn.00418560
pop ecx
cmp byte [ebp - 0x49], 0
je 0x419512
mov dword [ebp - 0xc], 1
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
cmp dword [ebp - 0x30], 0
jne 0x419512
push ebp
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 1
call fcn.00418560
pop ecx
cmp dword [ebp - 0x44], 0
je 0x4198c0
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetFileSize_1
cmp eax, dword [ebp - 0x44]
jne 0x4198e2
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x80]
call fcn.00417b44
test al, al
je 0x419a31
mov eax, dword [ebp - 0x80]
call fcn.0040b318
jmp 0x419a31
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetFileSize_1
cmp eax, dword [ebp - 0x44]
jae 0x419940
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x41990d
mov eax, dword [ebp - 4]
inc dword [eax + 0x38]
mov byte [ebp - 0xae], 1
jmp 0x419a31
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
push ebp
push 0
push 0
push 0
push 0
push 0x41a08c
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
jmp 0x419a31
push ebp
push 0
push 0
push 0
push 0
push 0x41a0bc
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00418480
jmp 0x419a31
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x4199c8
push 0x41a0f0
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x178]
call fcn.0040a784
push dword [ebp - 0x178]
push 0x41a10c
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x17c]
call fcn.0040c190
push dword [ebp - 0x17c]
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.0040475c
jmp 0x4199d5
lea eax, [ebp - 0x7c]
mov edx, 0x41a118
call fcn.00404464
push ebp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x180]
mov edx, dword [ebp - 0x7c]
call fcn.00404b64
mov eax, dword [ebp - 0x180]
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x49]
mov ecx, dword [ebp + 0xc]
mov al, 3
call fcn.00418560
pop ecx
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
call fcn.00403e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419d0d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419a56
cmp dword [ebp - 0x28], 0
je 0x419a4e
mov eax, dword [ebp - 0x28]
push eax
call fcn.00405ca4
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419e55
lea eax, [ebp - 0x1a4]
call fcn.00404a10
lea eax, [ebp - 0x1a0]
mov edx, 3
call fcn.004043f0
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.00404a28
lea eax, [ebp - 0x18c]
mov edx, 3
call fcn.004043f0
lea eax, [ebp - 0x180]
call fcn.00404a10
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.004043f0
lea eax, [ebp - 0x16c]
mov edx, 4
call fcn.004043f0
lea eax, [ebp - 0x15c]
call fcn.00404a10
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.004043f0
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404a28
lea eax, [ebp - 0x148]
call fcn.004043cc
lea eax, [ebp - 0x144]
call fcn.00404a10
lea eax, [ebp - 0x140]
mov edx, 5
call fcn.004043f0
lea eax, [ebp - 0x11c]
mov edx, 0x10
call fcn.004043f0
lea eax, [ebp - 0xdc]
call fcn.00404a10
lea eax, [ebp - 0xd8]
call fcn.004043cc
lea eax, [ebp - 0xd4]
call fcn.00404a10
lea eax, [ebp - 0xd0]
mov edx, 2
call fcn.004043f0
lea eax, [ebp - 0xc8]
call fcn.00404a10
lea eax, [ebp - 0x98]
mov edx, 6
call fcn.00404a28
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004043f0
lea eax, [ebp - 0x10]
call fcn.00404a10
lea eax, [ebp + 8]
call fcn.00405bac
ret