Function at 0x424a10
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e8bd1
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x65d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3fc], ecx
push 1
push 3
lea ecx, [ebp - 0x10c]
call fcn.004208b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10c]
test eax, eax
je 0x424a71
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x400], ecx
jmp 0x424a7b
mov dword [ebp - 0x400], 0
push 0x626fbc
mov edx, dword [ebp + 0xc]
push edx
push 0x626fc0
push 0x626fc4
mov eax, dword [ebp - 0x400]
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x10c]
test ecx, ecx
je 0x424ad0
lea edx, [ebp - 0x104]
mov dword [ebp - 0x404], edx
jmp 0x424ada
mov dword [ebp - 0x404], 0
push 0x626fc8
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x626fcc
push str.offset
mov edx, dword [ebp - 0x404]
push edx
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.00425f40
push eax
call fcn.00409b60
add esp, 8
lea eax, [ebp - 0x10c]
test eax, eax
je 0x424b31
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x408], ecx
jmp 0x424b3b
mov dword [ebp - 0x408], 0
push 0x626fd8
mov edx, dword [ebp + 0x18]
push edx
push 0x626fdc
push 0x626fe0
mov eax, dword [ebp - 0x408]
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.004209f0
mov dword [ebp - 0x40c], eax
mov edx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004209f0
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x410]
call fcn.0041ec70
push eax
mov ecx, dword [ebp - 0x418]
call fcn.0040be10
push eax
push 0
push 0x60000009
call fcn.005263f0
add esp, 0x10
push eax
lea ecx, [ebp - 0x50]
call fcn.0041bd90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x354]
call fcn.0040bf30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x338]
call fcn.0040bf30
call sub.KERNEL32.dll_GetCurrentThreadId
mov esi, eax
lea ecx, [ebp - 0x50]
call fcn.0043ead0
mov dword [eax + 0x1c], esi
push 0
mov edx, dword [ebp - 0x3fc]
mov ax, word [edx]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040be10
push eax
lea ecx, [ebp - 0x80]
call fcn.0050b790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0050a880
mov byte [ebp - 4], 7
push 0
push 0
push 2
push 0x658580
lea ecx, [ebp - 0x48]
call fcn.0050a380
test eax, eax
je 0x424d77
push 1
push 2
lea ecx, [ebp - 0x18c]
call fcn.0040b040
mov byte [ebp - 4], 8
push 0x626fe4
mov edx, dword [ebp - 0x3fc]
add edx, 4
push edx
push 0x626ff8
lea eax, [ebp - 0x18c]
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.004094f0
mov dword [ebp - 0x41c], eax
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x420]
call fcn.0040be10
push eax
push 0x627008
push 0x134
push 0x62702c
push 0x803
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x370]
call fcn.0040bf30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18c]
call fcn.00409dd0
mov dword [ebp - 0x374], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.0050a3e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00509440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a9a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00420370
mov eax, dword [ebp - 0x374]
jmp 0x425361
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.0043ead0
mov eax, dword [eax + 0xc]
add eax, 0x20
push eax
lea ecx, [ebp - 0x50]
call fcn.0043ead0
push eax
lea ecx, [ebp - 0x48]
call fcn.00509a70
mov esi, eax
lea ecx, [ebp - 0x50]
call fcn.0043ead0
mov ecx, dword [eax + 0xc]
add ecx, 0x20
cmp esi, ecx
je 0x424ec0
push 1
push 2
lea ecx, [ebp - 0x20c]
call fcn.0040b040
mov byte [ebp - 4], 0xa
push 0x627044
mov edx, dword [ebp - 0x3fc]
add edx, 4
push edx
push 0x627058
lea eax, [ebp - 0x20c]
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x390]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.004094f0
mov dword [ebp - 0x424], eax
mov edx, dword [ebp - 0x424]
mov dword [ebp - 0x428], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x428]
call fcn.0040be10
push eax
push 0x627068
push 0x139
push 0x62708c
push 0x803
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x390]
call fcn.0040bf30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20c]
call fcn.00409dd0
lea ecx, [ebp - 0x48]
call fcn.00509910
mov dword [ebp - 0x394], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.0050a3e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00509440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a9a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00420370
mov eax, dword [ebp - 0x394]
jmp 0x425361
lea ecx, [ebp - 0x48]
call fcn.00509910
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp + 0x18]
jae 0x42531b
mov ecx, dword [ebp - 0x3fc]
add ecx, 0x70
call fcn.00426390
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x424f69
push 0xa
call fcn.00507ad0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x54]
cmp eax, 0x7d0
jbe 0x424f64
mov dword [ebp - 0x398], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.0050a3e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00509440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a9a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00420370
mov eax, dword [ebp - 0x398]
jmp 0x425361
jmp 0x424ed7
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x3fc]
call fcn.004243b0
test eax, eax
jne 0x424ffb
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x3a0]
mov dword [ebp - 0x39c], ecx
cmp dword [ebp - 0x39c], 0
je 0x424fec
push 1
mov ecx, dword [ebp - 0x39c]
call fcn.00423170
mov dword [ebp - 0x42c], eax
jmp 0x424ff6
mov dword [ebp - 0x42c], 0
jmp 0x424ed7
mov edx, dword [ebp - 0x218]
xor eax, eax
mov ecx, dword [ebp - 0x4c]
xor esi, esi
add ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
adc edi, esi
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x438], edi
mov edx, dword [ebp - 0x434]
cmp edx, dword [ebp - 0x43c]
jne 0x425048
mov eax, dword [ebp - 0x430]
cmp eax, dword [ebp - 0x438]
je 0x425126
push 1
push 2
lea ecx, [ebp - 0x29c]
call fcn.0040b040
mov byte [ebp - 4], 0xc
push 0x6270a4
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409b60
add esp, 8
lea edx, [ebp - 0x3bc]
push edx
lea ecx, [ebp - 0x29c]
call fcn.004094f0
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x444]
call fcn.0040be10
push eax
push 0x6270b8
push 0x159
push 0x6270dc
push 0x803
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3bc]
call fcn.0040bf30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x29c]
call fcn.00409dd0
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x3c4], ecx
mov edx, dword [ebp - 0x3c4]
mov dword [ebp - 0x3c0], edx
cmp dword [ebp - 0x3c0], 0
je 0x425117
push 1
mov ecx, dword [ebp - 0x3c0]
call fcn.00423170
mov dword [ebp - 0x448], eax
jmp 0x425121
mov dword [ebp - 0x448], 0
jmp 0x424ed7
mov eax, dword [ebp + 0x1c]
push eax
call fcn.005b35ab
add esp, 4
push 0
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call fcn.005b28d8
add esp, 0xc
mov eax, dword [ebp + 0x1c]
push eax
push 1
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x210]
push edx
call fcn.005b1d61
add esp, 0x10
mov eax, dword [ebp + 0x1c]
push eax
call fcn.005b35df
add esp, 4
test eax, eax
je 0x4252bc
push 1
push 2
lea ecx, [ebp - 0x31c]
call fcn.0040b040
mov byte [ebp - 4], 0xe
push 0x6270f4
mov ecx, dword [ebp - 0x3fc]
add ecx, 4
push ecx
push 0x627108
lea edx, [ebp - 0x31c]
push edx
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x31c]
call fcn.004094f0
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x44c]
mov dword [ebp - 0x450], ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x450]
call fcn.0040be10
push eax
push str.CBranchDownload::RecvFileOneSession
push 0x162
push 0x62713c
push 0x803
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3e0]
call fcn.0040bf30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x31c]
call fcn.00409dd0
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x3e8], edx
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x3e4], eax
cmp dword [ebp - 0x3e4], 0
je 0x425267
push 1
mov ecx, dword [ebp - 0x3e4]
call fcn.00423170
mov dword [ebp - 0x454], eax
jmp 0x425271
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x3ec], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.0050a3e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00509440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a9a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00420370
mov eax, dword [ebp - 0x3ec]
jmp 0x425361
cmp dword [ebp - 0x4c], 0
jne 0x4252ca
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x214]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x3f4], edx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x3f0], 0
je 0x42530c
push 1
mov ecx, dword [ebp - 0x3f0]
call fcn.00423170
mov dword [ebp - 0x458], eax
jmp 0x425316
mov dword [ebp - 0x458], 0
jmp 0x424ed7
mov dword [ebp - 0x3f8], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.0050a3e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00509440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a9a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.00420370
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b1988
mov esp, ebp
pop ebp
ret 0x18