Function at 0x41b340
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54de41
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x5a7464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xe
xor eax, eax
mov dword [ebp - 0x344], 7
push str.start_download
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x348], 0
mov word [ebp - 0x358], ax
call fcn.00406770
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x370]
push 0x3e
xor eax, eax
mov dword [ebp - 0x35c], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
mov dword [ebp - 0x360], 0
mov word [ebp - 0x370], ax
call fcn.00406770
push 2
push 0x58ba50
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
call fcn.00406990
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x370]
call fcn.00407130
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x41b412
mov esi, dword [esi]
movzx eax, word [ebp - 0x286]
push 0x3c
push str.CurlClient::Start
push eax
movzx eax, word [ebp - 0x288]
push eax
movzx eax, word [ebp - 0x28a]
push eax
movzx eax, word [ebp - 0x28c]
push eax
movzx eax, word [ebp - 0x28e]
push eax
movzx eax, word [ebp - 0x292]
push eax
movzx eax, word [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0044d850
mov eax, dword [ebp - 0x35c]
add esp, 0x30
cmp eax, 8
jb 0x41b486
inc eax
lea ecx, [ebp - 0x370]
push eax
push dword [ebp - 0x370]
call fcn.00406ed0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x370], ax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x35c], 7
mov dword [ebp - 0x360], 0
cmp eax, 8
jb 0x41b4c8
inc eax
lea ecx, [ebp - 0x358]
push eax
push dword [ebp - 0x358]
call fcn.00406ed0
push 1
lea eax, [ebp - 0x33c]
mov ecx, edi
push eax
call fcn.0041b280
push 0
lea edx, [ebp - 0x33c]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2dc]
call fcn.0044b7a0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
jb 0x41b503
mov edx, dword [edx]
mov dword [ebp - 0x298], 0xf
mov dword [ebp - 0x29c], 0
mov byte [ebp - 0x2ac], 0
cmp byte [edx], 0
jne 0x41b527
xor ecx, ecx
jmp 0x41b539
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b530
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00406b20
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c8]
cmp eax, 0x10
jb 0x41b568
inc eax
lea ecx, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2dc]
call fcn.00406f30
push 0
lea edx, [edi + 0x18]
mov dword [ebp - 0x2c8], 0xf
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 0x2dc], 0
call fcn.0044b7a0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x41b5a4
mov edx, dword [edx]
mov dword [ebp - 0x2b0], 0xf
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 0x2c4], 0
cmp byte [edx], 0
jne 0x41b5c8
xor ecx, ecx
jmp 0x41b5d9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b5d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00406b20
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x344]
cmp eax, 0x10
jb 0x41b608
inc eax
lea ecx, [ebp - 0x358]
push eax
push dword [ebp - 0x358]
call fcn.00406f30
push 0xfde9
mov edx, edi
mov dword [ebp - 0x344], 0xf
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x348], 0
mov byte [ebp - 0x358], 0
call fcn.0044b7a0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 0x10
jb 0x41b646
mov edx, dword [edx]
mov dword [ebp - 0x2f8], 0xf
mov dword [ebp - 0x2fc], 0
mov byte [ebp - 0x30c], 0
cmp byte [edx], 0
jne 0x41b66a
xor ecx, ecx
jmp 0x41b679
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b670
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30c]
call fcn.00406b20
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x38c]
cmp eax, 0x10
jb 0x41b6a8
inc eax
lea ecx, [ebp - 0x3a0]
push eax
push dword [ebp - 0x3a0]
call fcn.00406f30
push 8
xor eax, eax
mov dword [ebp - 0x38c], 0xf
push str.file:___
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x390], 0
mov byte [ebp - 0x3a0], 0
mov dword [ebp - 0x374], 7
mov dword [ebp - 0x378], 0
mov word [ebp - 0x388], ax
call fcn.00406770
push dword [ebp - 0x378]
mov esi, dword [ebp - 0x374]
lea eax, [ebp - 0x388]
mov ebx, dword [ebp - 0x388]
cmp esi, 8
push 0
cmovae eax, ebx
mov ecx, edi
push eax
call fcn.00409600
mov dword [ebp - 0x26c], eax
cmp esi, 8
jb 0x41b73b
lea ecx, [esi + 1]
push ecx
push ebx
lea ecx, [ebp - 0x388]
call fcn.00406ed0
mov eax, dword [ebp - 0x26c]
test eax, eax
jne 0x41b7a8
push eax
mov edx, edi
lea ecx, [ebp - 0x2dc]
call fcn.0044b7a0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 0x10
jb 0x41b75e
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x41b767
xor ecx, ecx
jmp 0x41b779
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b770
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30c]
call fcn.00406b20
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2c8]
cmp eax, 0x10
jb 0x41b7a8
inc eax
lea ecx, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2dc]
call fcn.00406f30
xor ebx, ebx
mov dword [ebp - 0x340], ebx
cmp dword [edi + 0x84], ebx
je 0x41b7cb
movsd xmm0, qword [0x5903a8]
comisd xmm0, xmmword [edi + 0x40]
jbe 0x41b866
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], ebx
jb 0x41b7e4
mov eax, dword [ecx]
jmp 0x41b7e6
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], bl
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.00406c20
call fcn.0041c400
mov esi, eax
lea ecx, [ebp - 0x324]
mov edx, esi
call fcn.0041cb60
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x324]
cmp ecx, eax
je 0x41b827
push 0xffffffffffffffff
push 0
push eax
call fcn.00406c20
mov ecx, esi
call fcn.0041c7d0
push esi
movsd qword [edi + 0x40], xmm0
call fcn.004b4750
mov byte [ebp - 4], 0xb
add esp, 4
mov eax, dword [ebp - 0x310]
cmp eax, 0x10
jb 0x41b85e
inc eax
lea ecx, [ebp - 0x324]
push eax
push dword [ebp - 0x324]
call fcn.00406f30
movsd xmm0, qword [0x5903a8]
cmp dword [edi + 0x84], 0
je 0x41b87a
comisd xmm0, xmmword [edi + 0x40]
jbe 0x41b99e
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x41b8a5
mov eax, dword [ecx]
jmp 0x41b8a7
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.00406c20
lea ecx, [ebp - 0x2dc]
call fcn.0041d100
mov ecx, eax
lea esi, [edi + 0x74]
add esp, 0x18
mov dword [ebp - 0x26c], ecx
cmp esi, ecx
je 0x41b916
cmp dword [esi + 0x14], 0x10
jb 0x41b8f1
mov eax, dword [esi + 0x14]
mov ecx, esi
inc eax
push eax
push dword [esi]
call fcn.00406f30
mov ecx, dword [ebp - 0x26c]
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x41b909
mov eax, dword [esi]
jmp 0x41b90b
mov eax, esi
push ecx
mov ecx, esi
mov byte [eax], 0
call fcn.00406d50
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2c8]
cmp eax, 0x10
jb 0x41b938
inc eax
lea ecx, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2dc]
call fcn.00406f30
cmp dword [esi + 0x10], 0
je 0x41b985
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x41b969
mov eax, dword [ecx]
jmp 0x41b96b
mov eax, ecx
push 0xffffffffffffffff
push 0
push esi
mov byte [eax], 0
call fcn.00406c20
call fcn.0041cc40
add esp, 0x18
movsd qword [edi + 0x40], xmm0
movsd xmm0, qword [0x5903a8]
comisd xmm0, xmmword [edi + 0x40]
jbe 0x41b99e
mov esi, 0xfffffc1a
jmp 0x41bca2
call fcn.004b4790
mov ebx, eax
test ebx, ebx
jne 0x41b9b3
mov esi, 0xfffffc1b
jmp 0x41bca2
cmp dword [ebp - 0x298], 0x10
lea eax, [ebp - 0x2ac]
push 0x58bc68
cmovae eax, dword [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x340]
mov dword [edi + 0x34], ebx
push eax
call fcn.00525e3f
add esp, 0xc
cmp dword [ebp - 0x340], 0
jne 0x41ba49
call fcn.005210bb
push dword [eax]
lea eax, [ebp - 0x268]
push 0xc8
push eax
call fcn.0052f985
add esp, 0xc
cmp word [ebp - 0x268], 0
jne 0x41ba11
xor ecx, ecx
jmp 0x41ba2f
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ba20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x268]
push eax
lea ecx, [edi + 0x5c]
call fcn.00406770
mov esi, 0xfffffc1c
jmp 0x41bca2
push str.Connection:_keep_alive
push 0
call fcn.004b4c80
push str.Accept_Encoding:_gzip__deflate
push eax
call fcn.004b4c80
push eax
push 0x2727
push ebx
call fcn.004b48b0
push 1
push 0xd5
push ebx
call fcn.004b48b0
push 0xa
push 0xd6
push ebx
call fcn.004b48b0
push 0xa
push 0xd7
push ebx
call fcn.004b48b0
add esp, 0x40
push 0
push 0xd
push ebx
call fcn.004b48b0
lea eax, [edi + 0x74]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x41baae
mov eax, dword [eax]
push eax
push 0x2712
push ebx
call fcn.004b48b0
push 1
push 0x34
push ebx
mov esi, eax
call fcn.004b48b0
push 0x41c1a0
push 0x4e2b
push ebx
or esi, eax
call fcn.004b48b0
push dword [ebp - 0x340]
or esi, eax
push 0x2711
push ebx
call fcn.004b48b0
push 0
push 0x2b
push ebx
or esi, eax
call fcn.004b48b0
push 0x41c1b0
push 0x4efb
push ebx
or esi, eax
call fcn.004b48b0
add esp, 0x48
or esi, eax
push edi
push 0x2749
push ebx
call fcn.004b48b0
push 1
push 0x2d
push ebx
or esi, eax
call fcn.004b48b0
push 0x3c
push 0x4e
push ebx
or esi, eax
call fcn.004b48b0
add esp, 0x24
mov dword [ebp - 0x270], 0xf
or esi, eax
mov dword [ebp - 0x274], 0
lea eax, [ebp - 0x2ac]
mov byte [ebp - 0x284], 0
lea ecx, [ebp - 0x284]
push 0xffffffffffffffff
push 0
push eax
call fcn.00406c20
cmp dword [ebp - 0x270], 0x10
lea ecx, [ebp - 0x2f4]
lea eax, [ebp - 0x284]
cmovae eax, dword [ebp - 0x284]
push ecx
push eax
call fcn.00526d69
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x270]
jne 0x41bbc2
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x26c], ecx
cmp eax, 0x10
jb 0x41bbdd
inc eax
lea ecx, [ebp - 0x284]
push eax
push dword [ebp - 0x284]
call fcn.00406f30
mov ecx, dword [ebp - 0x26c]
jmp 0x41bbdd
cmp eax, 0x10
jb 0x41bbda
inc eax
lea ecx, [ebp - 0x284]
push eax
push dword [ebp - 0x284]
call fcn.00406f30
or ecx, 0xffffffff
mov eax, ecx
cdq
mov dword [edi + 0x48], eax
mov ecx, eax
mov dword [edi + 0x4c], edx
mov edi, edx
mov dword [ebp - 0x26c], eax
call fcn.00509070
comisd xmm0, xmmword [0x590360]
jbe 0x41bc16
push edi
push dword [ebp - 0x26c]
push 0x75a4
push ebx
call fcn.004b48b0
add esp, 0x10
or esi, eax
test esi, esi
jne 0x41bca2
push ebx
call fcn.004b4820
mov esi, eax
add esp, 4
test esi, esi
je 0x41bca2
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004b3660
push esi
call fcn.004b54a0
push eax
push esi
push str.error:_d:_s
lea eax, [ebp - 0x74]
push 0x64
push eax
call fcn.0041dc30
add esp, 0x24
cmp esi, 0x16
jne 0x41bca2
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0
push eax
push 0x200002
push ebx
call fcn.004b4770
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.004b3660
push dword [ebp - 0x26c]
lea eax, [ebp - 0xd8]
push str.HTTP_error_code:_d
push 0x64
push eax
call fcn.0041dc30
add esp, 0x28
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
call fcn.004b54a0
mov edx, eax
mov dword [ebp - 0x344], 0xf
add esp, 4
mov dword [ebp - 0x348], 0
mov byte [ebp - 0x358], 0
cmp byte [edx], 0
jne 0x41bcde
xor ecx, ecx
jmp 0x41bcec
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bce3
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x358]
call fcn.00406b20
push 0
lea edx, [ebp - 0x358]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.0044b630
add esp, 4
mov dword [ebp - 0x26c], eax
mov edi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x284]
push 0xb
xor eax, eax
mov dword [ebp - 0x270], 7
push 0x58bef4
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], ax
call fcn.00406770
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x370]
push 0x3e
xor eax, eax
mov dword [ebp - 0x35c], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
mov dword [ebp - 0x360], 0
mov word [ebp - 0x370], ax
call fcn.00406770
mov byte [ebp - 4], 0x12
cmp dword [edi + 0x14], 8
jb 0x41bd93
mov edi, dword [edi]
mov dword [ebp - 0x26c], edi
push 2
push 0x58ba50
lea ecx, [ebp - 0x284]
call fcn.00406990
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x370]
call fcn.00407130
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x41bdbf
mov edi, dword [edi]
push dword [ebp - 0x26c]
movzx eax, word [ebp - 0x286]
push esi
push 0xcf
push str.CurlClient::Start
push eax
movzx eax, word [ebp - 0x288]
push eax
movzx eax, word [ebp - 0x28a]
push eax
movzx eax, word [ebp - 0x28c]
push eax
movzx eax, word [ebp - 0x28e]
push eax
movzx eax, word [ebp - 0x292]
push eax
movzx eax, word [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
call fcn.0044d850
mov eax, dword [ebp - 0x35c]
add esp, 0x38
cmp eax, 8
jb 0x41be3d
inc eax
lea ecx, [ebp - 0x370]
push eax
push dword [ebp - 0x370]
call fcn.00406ed0
xor eax, eax
mov dword [ebp - 0x35c], 7
mov word [ebp - 0x370], ax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x360], 0
cmp eax, 8
jb 0x41be78
inc eax
lea ecx, [ebp - 0x284]
push eax
push dword [ebp - 0x284]
call fcn.00406ed0
xor eax, eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x274], 0
cmp eax, 8
jb 0x41beb3
inc eax
lea ecx, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2dc]
call fcn.00406ed0
xor eax, eax
mov byte [ebp - 4], 0xb
mov word [ebp - 0x2dc], ax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x2c8], 7
mov dword [ebp - 0x2cc], 0
cmp eax, 0x10
jb 0x41bef2
inc eax
lea ecx, [ebp - 0x358]
push eax
push dword [ebp - 0x358]
call fcn.00406f30
push ebx
call fcn.004b4750
mov eax, dword [ebp - 0x340]
add esp, 4
test eax, eax
je 0x41bf18
push eax
call fcn.00525efc
add esp, 4
mov dword [ebp - 0x340], 0
test esi, esi
jne 0x41bf68
cmp dword [ebp - 0x2b0], 0x10
lea eax, [ebp - 0x2c4]
cmovae eax, dword [ebp - 0x2c4]
push eax
call fcn.00525f7c
cmp dword [ebp - 0x2b0], 0x10
lea ecx, [ebp - 0x2c4]
lea eax, [ebp - 0x2ac]
cmovae ecx, dword [ebp - 0x2c4]
cmp dword [ebp - 0x298], 0x10
push ecx
cmovae eax, dword [ebp - 0x2ac]
push eax
call fcn.0052988e
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xc
xor eax, eax
mov dword [ebp - 0x2c8], 7
push str.end_download
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x2cc], 0
mov word [ebp - 0x2dc], ax
call fcn.00406770
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x388]
push 0x3e
xor eax, eax
mov dword [ebp - 0x374], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
mov dword [ebp - 0x378], 0
mov word [ebp - 0x388], ax
call fcn.00406770
push 2
push 0x58ba50
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x14
call fcn.00406990
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x388]
call fcn.00407130
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x41c007
mov edi, dword [edi]
movzx eax, word [ebp - 0x26e]
push 0xde
push str.CurlClient::Start
push eax
movzx eax, word [ebp - 0x270]
push eax
movzx eax, word [ebp - 0x272]
push eax
movzx eax, word [ebp - 0x274]
push eax
movzx eax, word [ebp - 0x276]
push eax
movzx eax, word [ebp - 0x27a]
push eax
movzx eax, word [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
call fcn.0044d850
mov eax, dword [ebp - 0x374]
add esp, 0x30
cmp eax, 8
jb 0x41c07e
inc eax
lea ecx, [ebp - 0x388]
push eax
push dword [ebp - 0x388]
call fcn.00406ed0
xor eax, eax
mov dword [ebp - 0x374], 7
mov word [ebp - 0x388], ax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x378], 0
cmp eax, 8
jb 0x41c0b9
inc eax
lea ecx, [ebp - 0x2dc]
push eax
push dword [ebp - 0x2dc]
call fcn.00406ed0
mov eax, dword [ebp - 0x2f8]
cmp eax, 0x10
jb 0x41c0d7
inc eax
lea ecx, [ebp - 0x30c]
push eax
push dword [ebp - 0x30c]
call fcn.00406f30
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2f8], 0xf
mov dword [ebp - 0x2fc], 0
mov byte [ebp - 0x30c], 0
cmp eax, 0x10
jb 0x41c110
inc eax
lea ecx, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2c4]
call fcn.00406f30
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x2b0], 0xf
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 0x2c4], 0
cmp eax, 0x10
jb 0x41c149
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.00406f30
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x298], 0xf
mov dword [ebp - 0x29c], 0
mov byte [ebp - 0x2ac], 0
cmp eax, 8
jb 0x41c182
inc eax
lea ecx, [ebp - 0x33c]
push eax
push dword [ebp - 0x33c]
call fcn.00406ed0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00508494
mov esp, ebp
pop ebp
ret