Function at 0x437950
Capabilities:
Create thread

Disassembly:
push 8
push 0x180
mov eax, 0x5aab00
call fcn.005a06c1
mov dword [ebp - 0x74], ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
lea edi, [ebp - 0x40]
sub esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 0xc]
lea edi, [ecx + 0x4d4]
mov ecx, esp
push eax
call fcn.0040d59c
push esi
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00463a79
push esi
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.004b55f0
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.004b4770
push eax
lea ecx, [ebp - 0x40]
call fcn.004b4040
test al, al
jne 0x4379c2
cmp byte [ebx + 8], al
je 0x437d93
push esi
lea eax, [ebp - 0xcc]
mov ecx, edi
push eax
call fcn.004b55f0
lea ecx, [ebp - 0x17]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x34]
inc edx
call fcn.00405338
push ecx
lea ecx, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00405350
cmp byte [ebx + 8], 0
mov byte [ebp - 4], 1
je 0x437a9e
push 3
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.004b3e30
mov byte [ebp - 4], 2
xor esi, esi
mov ecx, dword [ebp - 0x40]
inc esi
push 0x70
pop edi
mov eax, dword [ecx + 0x60]
sub eax, dword [ecx + 0x5c]
cdq
idiv edi
cmp eax, esi
jbe 0x437a4d
sub esp, 0x18
mov ecx, esp
push 0x5fad80
call fcn.00403448
push esi
lea ecx, [ebp - 0x40]
call fcn.004b3c00
mov ecx, dword [ebp - 0x40]
inc esi
mov eax, dword [ecx + 0x60]
sub eax, dword [ecx + 0x5c]
cdq
idiv edi
cmp esi, eax
jb 0x437a24
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00403481
push 3
lea ecx, [ebp - 0x40]
call fcn.004b3c00
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004b3e30
push eax
lea ecx, [ebp - 0x70]
call fcn.0040d664
lea ecx, [ebp - 0x8c]
call fcn.0040388d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040388d
mov esi, dword [ebp - 0x74]
jmp 0x437c2e
push esi
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.004b55f0
mov esi, eax
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x70]
push eax
call fcn.00403481
push 0x5fad80
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 3
call fcn.00403448
push 0x5fad80
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 4
call fcn.00403448
push str.queued
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 5
call fcn.00403448
push 0x5fad80
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.00403448
push 0x5fad80
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00403448
push 0x5fad80
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 8
call fcn.00403448
push 0x5fad80
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 9
call fcn.00403448
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x190]
push eax
push ecx
mov ecx, esi
call fcn.004b4150
push fcn.004016cb
push 8
push 0x18
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 1
push eax
call fcn.005772ea
push 0
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.004b55f0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004b47f0
mov esi, eax
lea ecx, [ebp - 0x90]
lea eax, [ebx + 0xc]
push eax
call fcn.0040d59c
and dword [ebp - 0x78], 0
push 1
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.004b40c0
mov esi, eax
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0xc0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc0]
call fcn.0040d561
mov eax, dword [ebp - 0x78]
mov ecx, esi
mov dword [ebp - 0xa8], eax
mov eax, 0x63af14
or eax, 2
mov dword [ebp - 0xa0], 0x5fc990
mov dword [ebp - 0x9c], eax
call fcn.00406c74
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.00406ccc
lea ecx, [ebp - 0xc0]
call fcn.00406c74
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.0040e260
mov esi, dword [ebp - 0x74]
mov ecx, esi
call fcn.0043f232
sub esp, 0x18
lea eax, [ebx + 0xc]
mov ecx, esp
push eax
call fcn.0040d59c
push 0
lea ecx, [esi + 0x41c]
call fcn.0044e80c
cmp byte [ebx + 8], 0
mov edi, eax
jne 0x437cfa
sub esp, 0x18
lea esi, [edi + 0x194]
cmp byte [0x65d2b3], 0
mov ecx, esp
je 0x437c75
push str.Download_options
call fcn.00403448
jmp 0x437c84
lea eax, [ebp - 0x70]
mov edx, str.Download_options_for_queue_item_
push eax
call fcn.0040f5c0
pop ecx
mov ecx, esi
call fcn.0046470a
cmp byte [0x65d2b3], 0
mov ecx, edi
sete al
movzx eax, al
push eax
call fcn.004496eb
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x4c]
push 0
push eax
lea ecx, [esi + 0x4d4]
call fcn.004b55f0
mov eax, dword [eax + 4]
cmp dword [eax + 0x34], 1
jne 0x437ce8
sub esp, 0x18
lea eax, [ebx + 0xc]
mov ecx, esp
push eax
call fcn.0040d59c
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x4d4]
call fcn.00463a79
push ecx
push 1
mov ecx, eax
call fcn.004b3860
jmp 0x437cfa
cmp byte [0x65d2b3], 0
jne 0x437cfa
push 1
mov ecx, edi
call fcn.004496eb
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040d59c
mov al, byte [ebx + 8]
mov byte [ebp - 0x80], al
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], eax
push 0x24
mov byte [ebp - 4], 0xc
call fcn.00577033
mov esi, eax
lea eax, [ebp - 0x98]
pop ecx
push eax
mov ecx, esi
call fcn.0040d561
mov cl, byte [ebp - 0x80]
mov byte [esi + 0x18], cl
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x78]
mov dword [esi + 0x20], ecx
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xd
push eax
xor eax, eax
push eax
push esi
push 0x4473f9
push eax
push eax
call fcn.0057c540
add esp, 0x18
mov dword [ebp - 0x48], eax
test eax, eax
je 0x437da6
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x184]
call fcn.00406377
cmp dword [ebp - 0x44], 0
jne 0x437db1
lea ecx, [ebp - 0x98]
call fcn.0040e260
lea ecx, [ebp - 0x70]
call fcn.0040388d
lea ecx, [ebx + 0xc]
call fcn.0040e260
mov ecx, dword [ebp - 0x14]
call fcn.005a069f
ret 0x1c
and dword [ebp - 0x44], 0
push 6
call fcn.00562ac5
call fcn.0057f744
int3