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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4951
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x66d4f4]
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.0041fd40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10c]
test eax, eax
je 0x423f21
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x400], ecx
jmp 0x423f2b
mov dword [ebp - 0x400], 0
push 0x636240
mov edx, dword [ebp + 0xc]
push edx
push 0x636244
push 0x636248
mov eax, dword [ebp - 0x400]
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x10c]
test ecx, ecx
je 0x423f80
lea edx, [ebp - 0x104]
mov dword [ebp - 0x404], edx
jmp 0x423f8a
mov dword [ebp - 0x404], 0
push 0x63624c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x636250
push str.offset
mov edx, dword [ebp - 0x404]
push edx
call fcn.00409270
add esp, 8
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.004253f0
push eax
call fcn.00409270
add esp, 8
lea eax, [ebp - 0x10c]
test eax, eax
je 0x423fe1
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x408], ecx
jmp 0x423feb
mov dword [ebp - 0x408], 0
push 0x63625c
mov edx, dword [ebp + 0x18]
push edx
push 0x636260
push 0x636264
mov eax, dword [ebp - 0x408]
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x338]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.0041fe80
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.0041fe80
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.0041e9f0
push eax
mov ecx, dword [ebp - 0x418]
call fcn.0040b520
push eax
push 0
push 0x60000009
call fcn.00531ad0
add esp, 0x10
push eax
lea ecx, [ebp - 0x50]
call fcn.00445e90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x354]
call fcn.0040b640
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x338]
call fcn.0040b640
call sub.KERNEL32.dll_GetCurrentThreadId
mov esi, eax
lea ecx, [ebp - 0x50]
call fcn.0048acf0
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.0040b520
push eax
lea ecx, [ebp - 0x80]
call fcn.00523720
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00522800
mov byte [ebp - 4], 7
push 0
push 0
push 2
push 0x66ad98
lea ecx, [ebp - 0x48]
call fcn.005222e0
test eax, eax
je 0x424227
push 1
push 2
lea ecx, [ebp - 0x18c]
call fcn.0040a750
mov byte [ebp - 4], 8
push 0x636268
mov edx, dword [ebp - 0x3fc]
add edx, 4
push edx
push 0x63627c
lea eax, [ebp - 0x18c]
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.00408c00
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.0040b520
push eax
push 0x63628c
push 0x134
push 0x6362b0
push 0x803
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x370]
call fcn.0040b640
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18c]
call fcn.004094e0
mov dword [ebp - 0x374], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005222a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00521330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041fd10
mov eax, dword [ebp - 0x374]
jmp 0x424811
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.0048acf0
mov eax, dword [eax + 0xc]
add eax, 0x20
push eax
lea ecx, [ebp - 0x50]
call fcn.0048acf0
push eax
lea ecx, [ebp - 0x48]
call fcn.00521940
mov esi, eax
lea ecx, [ebp - 0x50]
call fcn.0048acf0
mov ecx, dword [eax + 0xc]
add ecx, 0x20
cmp esi, ecx
je 0x424370
push 1
push 2
lea ecx, [ebp - 0x20c]
call fcn.0040a750
mov byte [ebp - 4], 0xa
push 0x6362c8
mov edx, dword [ebp - 0x3fc]
add edx, 4
push edx
push 0x6362dc
lea eax, [ebp - 0x20c]
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x390]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.00408c00
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.0040b520
push eax
push 0x6362ec
push 0x139
push 0x636310
push 0x803
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x390]
call fcn.0040b640
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20c]
call fcn.004094e0
lea ecx, [ebp - 0x48]
call fcn.00521d10
mov dword [ebp - 0x394], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005222a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00521330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041fd10
mov eax, dword [ebp - 0x394]
jmp 0x424811
lea ecx, [ebp - 0x48]
call fcn.00521d10
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 0x4247cb
mov ecx, dword [ebp - 0x3fc]
add ecx, 0x70
call fcn.00436410
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x424419
push 0xa
call fcn.0050f450
add esp, 4
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x54]
cmp eax, 0x7d0
jbe 0x424414
mov dword [ebp - 0x398], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005222a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00521330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041fd10
mov eax, dword [ebp - 0x398]
jmp 0x424811
jmp 0x424387
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.00423860
test eax, eax
jne 0x4244ab
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 0x42449c
push 1
mov ecx, dword [ebp - 0x39c]
call fcn.00422620
mov dword [ebp - 0x42c], eax
jmp 0x4244a6
mov dword [ebp - 0x42c], 0
jmp 0x424387
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 0x4244f8
mov eax, dword [ebp - 0x430]
cmp eax, dword [ebp - 0x438]
je 0x4245d6
push 1
push 2
lea ecx, [ebp - 0x29c]
call fcn.0040a750
mov byte [ebp - 4], 0xc
push 0x636328
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00409270
add esp, 8
lea edx, [ebp - 0x3bc]
push edx
lea ecx, [ebp - 0x29c]
call fcn.00408c00
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.0040b520
push eax
push 0x63633c
push 0x159
push 0x636360
push 0x803
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3bc]
call fcn.0040b640
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x29c]
call fcn.004094e0
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 0x4245c7
push 1
mov ecx, dword [ebp - 0x3c0]
call fcn.00422620
mov dword [ebp - 0x448], eax
jmp 0x4245d1
mov dword [ebp - 0x448], 0
jmp 0x424387
mov eax, dword [ebp + 0x1c]
push eax
call fcn.005bf20b
add esp, 4
push 0
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
call fcn.005be8a1
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.005bd6b0
add esp, 0x10
mov eax, dword [ebp + 0x1c]
push eax
call fcn.005bf23f
add esp, 4
test eax, eax
je 0x42476c
push 1
push 2
lea ecx, [ebp - 0x31c]
call fcn.0040a750
mov byte [ebp - 4], 0xe
push 0x636378
mov ecx, dword [ebp - 0x3fc]
add ecx, 4
push ecx
push 0x63638c
lea edx, [ebp - 0x31c]
push edx
call fcn.00409270
add esp, 8
push eax
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x31c]
call fcn.00408c00
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.0040b520
push eax
push str.CBranchDownload::RecvFileOneSession
push 0x162
push 0x6363c0
push 0x803
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3e0]
call fcn.0040b640
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x31c]
call fcn.004094e0
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 0x424717
push 1
mov ecx, dword [ebp - 0x3e4]
call fcn.00422620
mov dword [ebp - 0x454], eax
jmp 0x424721
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x3ec], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005222a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00521330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041fd10
mov eax, dword [ebp - 0x3ec]
jmp 0x424811
cmp dword [ebp - 0x4c], 0
jne 0x42477a
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 0x4247bc
push 1
mov ecx, dword [ebp - 0x3f0]
call fcn.00422620
mov dword [ebp - 0x458], eax
jmp 0x4247c6
mov dword [ebp - 0x458], 0
jmp 0x424387
mov dword [ebp - 0x3f8], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.005222a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00521330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0041a8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0041fd10
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.005bd2d7
mov esp, ebp
pop ebp
ret 0x18