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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x65b4e4]
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.0041fd80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10c]
test eax, eax
je 0x423f61
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x400], ecx
jmp 0x423f6b
mov dword [ebp - 0x400], 0
push 0x625e5c
mov edx, dword [ebp + 0xc]
push edx
push 0x625e60
push 0x625e64
mov eax, dword [ebp - 0x400]
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x10c]
test ecx, ecx
je 0x423fc0
lea edx, [ebp - 0x104]
mov dword [ebp - 0x404], edx
jmp 0x423fca
mov dword [ebp - 0x404], 0
push 0x625e68
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x625e6c
push str.offset
mov edx, dword [ebp - 0x404]
push edx
call fcn.00409c80
add esp, 8
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.00425430
push eax
call fcn.00409c80
add esp, 8
lea eax, [ebp - 0x10c]
test eax, eax
je 0x424021
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x408], ecx
jmp 0x42402b
mov dword [ebp - 0x408], 0
push 0x625e78
mov edx, dword [ebp + 0x18]
push edx
push 0x625e7c
push 0x625e80
mov eax, dword [ebp - 0x408]
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.0041fec0
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.0041fec0
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.004068e0
push eax
mov ecx, dword [ebp - 0x418]
call fcn.0040bf30
push eax
push 0
push 0x60000009
call fcn.00525450
add esp, 0x10
push eax
lea ecx, [ebp - 0x50]
call fcn.00487ae0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x354]
call fcn.0040c050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x338]
call fcn.0040c050
call sub.KERNEL32.dll_GetCurrentThreadId
mov esi, eax
lea ecx, [ebp - 0x50]
call fcn.0041b290
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.0040bf30
push eax
lea ecx, [ebp - 0x80]
call fcn.0050a760
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00509850
mov byte [ebp - 4], 7
push 0
push 0
push 2
push 0x656580
lea ecx, [ebp - 0x48]
call fcn.00509350
test eax, eax
je 0x424267
push 1
push 2
lea ecx, [ebp - 0x18c]
call fcn.0040b160
mov byte [ebp - 4], 8
push 0x625e84
mov edx, dword [ebp - 0x3fc]
add edx, 4
push edx
push 0x625e98
lea eax, [ebp - 0x18c]
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.00409610
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.0040bf30
push eax
push 0x625ea8
push 0x134
push 0x625ecc
push 0x803
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x370]
call fcn.0040c050
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18c]
call fcn.00409ef0
mov dword [ebp - 0x374], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005093b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00508420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041f840
mov eax, dword [ebp - 0x374]
jmp 0x424851
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.0041b290
mov eax, dword [eax + 0xc]
add eax, 0x20
push eax
lea ecx, [ebp - 0x50]
call fcn.0041b290
push eax
lea ecx, [ebp - 0x48]
call fcn.00508a20
mov esi, eax
lea ecx, [ebp - 0x50]
call fcn.0041b290
mov ecx, dword [eax + 0xc]
add ecx, 0x20
cmp esi, ecx
je 0x4243b0
push 1
push 2
lea ecx, [ebp - 0x20c]
call fcn.0040b160
mov byte [ebp - 4], 0xa
push 0x625ee4
mov edx, dword [ebp - 0x3fc]
add edx, 4
push edx
push 0x625ef8
lea eax, [ebp - 0x20c]
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x390]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.00409610
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.0040bf30
push eax
push 0x625f08
push 0x139
push 0x625f2c
push 0x803
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x390]
call fcn.0040c050
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20c]
call fcn.00409ef0
lea ecx, [ebp - 0x48]
call fcn.00508a80
mov dword [ebp - 0x394], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005093b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00508420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041f840
mov eax, dword [ebp - 0x394]
jmp 0x424851
lea ecx, [ebp - 0x48]
call fcn.00508a80
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 0x42480b
mov ecx, dword [ebp - 0x3fc]
add ecx, 0x70
call fcn.00434ec0
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x424459
push 0xa
call fcn.00506ab0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x54]
cmp eax, 0x7d0
jbe 0x424454
mov dword [ebp - 0x398], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005093b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00508420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041f840
mov eax, dword [ebp - 0x398]
jmp 0x424851
jmp 0x4243c7
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.004238a0
test eax, eax
jne 0x4244eb
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 0x4244dc
push 1
mov ecx, dword [ebp - 0x39c]
call fcn.00422660
mov dword [ebp - 0x42c], eax
jmp 0x4244e6
mov dword [ebp - 0x42c], 0
jmp 0x4243c7
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 0x424538
mov eax, dword [ebp - 0x430]
cmp eax, dword [ebp - 0x438]
je 0x424616
push 1
push 2
lea ecx, [ebp - 0x29c]
call fcn.0040b160
mov byte [ebp - 4], 0xc
push 0x625f44
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409c80
add esp, 8
lea edx, [ebp - 0x3bc]
push edx
lea ecx, [ebp - 0x29c]
call fcn.00409610
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.0040bf30
push eax
push 0x625f58
push 0x159
push 0x625f7c
push 0x803
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3bc]
call fcn.0040c050
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x29c]
call fcn.00409ef0
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 0x424607
push 1
mov ecx, dword [ebp - 0x3c0]
call fcn.00422660
mov dword [ebp - 0x448], eax
jmp 0x424611
mov dword [ebp - 0x448], 0
jmp 0x4243c7
mov eax, dword [ebp + 0x1c]
push eax
call fcn.005b258b
add esp, 4
push 0
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call fcn.005b18b8
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.005b0d41
add esp, 0x10
mov eax, dword [ebp + 0x1c]
push eax
call fcn.005b25bf
add esp, 4
test eax, eax
je 0x4247ac
push 1
push 2
lea ecx, [ebp - 0x31c]
call fcn.0040b160
mov byte [ebp - 4], 0xe
push 0x625f94
mov ecx, dword [ebp - 0x3fc]
add ecx, 4
push ecx
push 0x625fa8
lea edx, [ebp - 0x31c]
push edx
call fcn.00409c80
add esp, 8
push eax
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x31c]
call fcn.00409610
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.0040bf30
push eax
push str.CBranchDownload::RecvFileOneSession
push 0x162
push 0x625fdc
push 0x803
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3e0]
call fcn.0040c050
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x31c]
call fcn.00409ef0
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 0x424757
push 1
mov ecx, dword [ebp - 0x3e4]
call fcn.00422660
mov dword [ebp - 0x454], eax
jmp 0x424761
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x3ec], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005093b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00508420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041f840
mov eax, dword [ebp - 0x3ec]
jmp 0x424851
cmp dword [ebp - 0x4c], 0
jne 0x4247ba
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 0x4247fc
push 1
mov ecx, dword [ebp - 0x3f0]
call fcn.00422660
mov dword [ebp - 0x458], eax
jmp 0x424806
mov dword [ebp - 0x458], 0
jmp 0x4243c7
mov dword [ebp - 0x3f8], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005093b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00508420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041f840
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.005b0968
mov esp, ebp
pop ebp
ret 0x18