Function at 0x4137b0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4883df
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x33f4]
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x10], bl
mov dword [esp + 0x20], eax
jne 0x41385d
call fcn.00412480
cmp al, bl
jne 0x41385d
lea ecx, [esp + 0x18]
push ecx
call fcn.00435a40
add esp, 4
mov ecx, dword [eax]
mov dword [esp + 0xec], ebx
call fcn.00426e30
mov edi, dword [esp + 0x1c]
cmp edi, ebx
mov dword [esp + 0xec], 0xffffffff
je 0x413852
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x413852
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x413852
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push str.CDownloadClient::CDownloadDispatcher__ForceExit__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1200]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413872
sub eax, edx
push eax
lea ecx, [esp + 0x1204]
push ecx
lea ecx, [esi + 0x14]
call fcn.004022c0
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x413a32
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xf8]
push ecx
push eax
call edx
mov ebp, eax
cmp ebp, ebx
jl 0x413a32
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0x218]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], esp
mov byte [ecx + 4], bl
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4138d8
sub eax, edi
push eax
lea eax, [esp + 0x21c]
push eax
call fcn.004022c0
mov ecx, esi
call fcn.00411ec0
cmp al, bl
jne 0x413919
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xf8]
push edx
lea edx, [esp + 0x200]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ebp, eax
cmp ebp, ebx
jl 0x413a32
lea ecx, [esi + 0x3c]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c], bl
call fcn.004102e0
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0xf0], 1
call fcn.004040b7
mov edi, eax
lea eax, [esp + 0x1fc]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xf0], 2
call fcn.004040b7
mov ecx, dword [esp + 0x20]
push ecx
push edi
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xf8], 3
call fcn.004121a0
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 4
mov dword [esp + 0x6c], edx
call fcn.004120e0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0xf4], 5
call fcn.00413620
lea ecx, [esp + 0x68]
call fcn.00411e70
lea ecx, [esp + 0xa8]
call fcn.00411e20
mov esi, 0x10
cmp dword [esp + 0x58], esi
jb 0x4139e8
mov edx, dword [esp + 0x44]
push edx
call fcn.00451fd9
add esp, 4
cmp dword [esp + 0x3c], esi
mov edi, 0xf
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x413a0c
mov eax, dword [esp + 0x28]
push eax
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0xec], 0xffffffff
call fcn.00410290
mov eax, dword [esp + 0x14]
jmp 0x413a34
xor eax, eax
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 0x3304