Function at 0x41b500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x565a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
xor edi, edi
push edi
push eax
call fcn.0041fc60
mov ecx, eax
call fcn.0041c9c0
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x20], ebx
je 0x41bea1
cmp dword [ebx + 0x1e4], edi
jbe 0x41bea1
mov ecx, dword [ebx + 0x528]
push ecx
call fcn.004fb9f0
add esp, 4
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x41beaa
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00532406
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00531cf4
add esp, 0xc
cmp eax, edi
jne 0x41b5c0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
jmp 0x41b5c8
mov dword [esp + 0x2c], 0xffffffff
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00531cf4
add esp, 8
cmp eax, edi
jne 0x41b5e4
mov ecx, dword [esp + 0x5c]
jmp 0x41b5e7
or ecx, 0xffffffff
mov eax, dword [esp + 0x2c]
mov edx, eax
shl edx, 4
sub edx, eax
lea eax, [ecx + edx*4]
push eax
mov ecx, esi
call fcn.004199f0
test eax, eax
jne 0x41b676
mov eax, dword [esi + 0x3c]
cmp eax, edi
jle 0x41beaa
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
push edi
push eax
mov eax, dword [ebx + 0x1e4]
push eax
call edx
lea ecx, [esp + 0x20]
mov dword [esi + 0x28], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], edi
call fcn.00401e90
mov eax, dword [esi + 0x3c]
push eax
add ebx, 0x44
push ebx
lea ecx, [esp + 0x28]
push str._n_s_StopDownload:__ld_n
push ecx
mov dword [esp + 0x270], edi
call fcn.004020e0
mov edx, dword [esp + 0x30]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x20]
mov dword [esi + 0x3c], edi
call fcn.004015d0
jmp 0x41beaa
mov eax, dword [esi + 0x28]
cmp dword [esi + 0xc], eax
jge 0x41b69f
cmp eax, edi
jle 0x41b69f
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x41b693
cmp eax, dword [esi + 0x44]
jbe 0x41beaa
mov ecx, esi
call fcn.0041aba0
jmp 0x41beac
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esi + 0x1c]
mov dword [esi + 0xc], edi
mov dword [esi + 0x28], edi
call fcn.00419de0
mov ecx, esi
call fcn.00419fa0
push 0xa0
lea eax, [esp + 0x1b0]
push edi
push eax
call fcn.00530d30
mov edx, dword [esi]
add esp, 0xc
lea ecx, [esp + 0x1ac]
push ecx
push edx
call fcn.004aef60
mov ecx, eax
call fcn.004ae940
lea eax, [esp + 0x34]
mov ebx, 1
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0x64
mov dword [esp + 0x58], 0xffffffff
call fcn.00532807
mov dword [esp + 0x1c], eax
and eax, edx
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x1c], edx
jne 0x41b73b
push 0x80070057
call fcn.00401000
mov eax, dword [esp + 0x234]
cmp eax, edi
jne 0x41b772
cmp dword [esp + 0x238], edi
jne 0x41b772
cmp dword [esp + 0x23c], edi
jne 0x41b772
mov eax, 0x7d0
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], ebx
mov dword [esp + 0x23c], ebx
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x244]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x248]
push edx
mov edx, dword [esp + 0x248]
push ecx
mov ecx, dword [esp + 0x248]
push edx
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004197a0
mov ebx, dword [esp + 0x1ac]
cmp ebx, edi
jl 0x41be97
cmp ebx, 1
jle 0x41bc57
cmp ebx, 2
jne 0x41be97
push 0x98
lea edx, [esp + 0x80]
push edi
push edx
call fcn.00530d30
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edx
mov dword [esp + 0x80], ecx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x94], 0x40
mov dword [esp + 0x98], 0xa
call fcn.00419880
test al, al
je 0x41b880
lea ecx, [esp + 0x18]
call fcn.004198a0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], eax
call fcn.004198d0
lea ecx, [esp + 0x18]
mov dword [esp + 0xdc], eax
call fcn.00419900
lea ecx, [esp + 0x18]
mov dword [esp + 0xe0], eax
call fcn.00419920
lea ecx, [esp + 0x18]
mov dword [esp + 0xe4], eax
call fcn.00419950
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], eax
call fcn.00419980
mov dword [esp + 0xec], eax
jmp 0x41b940
lea ecx, [esp + 0x10]
call fcn.004198a0
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], eax
call fcn.004198d0
lea ecx, [esp + 0x10]
mov dword [esp + 0xdc], eax
call fcn.00419900
lea ecx, [esp + 0x10]
mov dword [esp + 0xe0], eax
call fcn.00419920
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], eax
call fcn.00419950
lea ecx, [esp + 0x10]
mov dword [esp + 0xe8], eax
call fcn.00419980
cmp eax, 0x3b
jge 0x41b8f7
lea ecx, [esp + 0x10]
call fcn.00419980
mov ebx, 1
add eax, ebx
mov dword [esp + 0xec], eax
jmp 0x41b945
mov eax, dword [esp + 0xe8]
add eax, 1
cmp eax, 0x3c
mov dword [esp + 0xe8], eax
jne 0x41b939
mov eax, dword [esp + 0xe4]
add eax, 1
cmp eax, 0x3c
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], eax
jne 0x41b939
add dword [esp + 0xe0], 1
mov dword [esp + 0xe4], edi
mov dword [esp + 0xec], edi
mov ebx, 1
mov eax, dword [esi + 8]
cdq
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
mov dword [esp + 0xf4], 0x7f0
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x98], edi
call fcn.0041b390
test eax, eax
je 0x41ba08
cmp dword [esi + 0x28], 0x40
jl 0x41ba08
mov eax, dword [esi + 0x14]
cmp eax, edi
jle 0x41b9f8
mov edx, dword [esi + 0x18]
imul eax, eax, 0xbc
mov ecx, dword [eax + edx - 0x28]
add eax, edx
mov dword [esp + 0xd8], ecx
mov edx, dword [eax - 0x24]
mov dword [esp + 0xdc], edx
mov ecx, dword [eax - 0x20]
mov dword [esp + 0xe0], ecx
mov edx, dword [eax - 0x18]
mov dword [esp + 0xe4], edx
mov ecx, dword [eax - 0x14]
mov dword [esp + 0xe8], ecx
mov edx, dword [eax - 0x10]
mov dword [esp + 0xec], edx
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.0041b390
test eax, eax
jne 0x41b9a3
push 0x98
lea ecx, [esp + 0x118]
push edi
push ecx
call fcn.00530d30
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x1e4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x12c], 0x40
mov dword [esp + 0x130], edi
call fcn.00419880
test al, al
je 0x41babd
lea ecx, [esp + 0x18]
call fcn.004198a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x170], eax
call fcn.004198d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x174], eax
call fcn.00419900
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], eax
call fcn.00419920
lea ecx, [esp + 0x18]
mov dword [esp + 0x17c], eax
call fcn.00419950
lea ecx, [esp + 0x18]
mov dword [esp + 0x180], eax
call fcn.00419980
mov dword [esp + 0x184], eax
jmp 0x41bb75
lea ecx, [esp + 0x10]
call fcn.004198a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x170], eax
call fcn.004198d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x174], eax
call fcn.00419900
lea ecx, [esp + 0x10]
mov dword [esp + 0x178], eax
call fcn.00419920
lea ecx, [esp + 0x10]
mov dword [esp + 0x17c], eax
call fcn.00419950
lea ecx, [esp + 0x10]
mov dword [esp + 0x180], eax
call fcn.00419980
cmp eax, 0x3b
jge 0x41bb2f
lea ecx, [esp + 0x10]
call fcn.00419980
add eax, ebx
mov dword [esp + 0x184], eax
jmp 0x41bb75
mov eax, dword [esp + 0x180]
add eax, ebx
cmp eax, 0x3c
mov dword [esp + 0x180], eax
jne 0x41bb6e
mov eax, dword [esp + 0x17c]
add eax, ebx
cmp eax, 0x3c
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], eax
jne 0x41bb6e
add dword [esp + 0x178], ebx
mov dword [esp + 0x17c], edi
mov dword [esp + 0x184], edi
mov eax, dword [esi + 8]
cdq
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x114]
push eax
mov ecx, esi
mov dword [esp + 0x18c], 0x7f0
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x198], edi
mov dword [esp + 0x19c], edi
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x124], edx
mov dword [esp + 0x130], edi
call fcn.0041b390
test eax, eax
je 0x41be97
lea ebx, [ebx]
cmp dword [esi + 0x28], 0x40
jl 0x41be97
mov eax, dword [esi + 0x14]
cmp eax, edi
jle 0x41bc39
mov ecx, dword [esi + 0x18]
imul eax, eax, 0xbc
mov edx, dword [eax + ecx - 0x28]
add eax, ecx
mov dword [esp + 0x170], edx
mov ecx, dword [eax - 0x24]
mov dword [esp + 0x174], ecx
mov edx, dword [eax - 0x20]
mov dword [esp + 0x178], edx
mov ecx, dword [eax - 0x18]
mov dword [esp + 0x17c], ecx
mov edx, dword [eax - 0x14]
mov dword [esp + 0x180], edx
mov eax, dword [eax - 0x10]
mov dword [esp + 0x184], eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call fcn.0041b390
test eax, eax
jne 0x41bbe0
cmp dword [esi + 0x28], edi
setg al
jmp 0x41beac
push 0x98
lea edx, [esp + 0x80]
push edi
push edx
call fcn.00530d30
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
neg ebx
sbb ebx, ebx
push edx
mov dword [esp + 0x80], ecx
and ebx, 0xa
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x94], 0x40
mov dword [esp + 0x98], ebx
call fcn.00419880
test al, al
je 0x41bd13
lea ecx, [esp + 0x18]
call fcn.004198a0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], eax
call fcn.004198d0
lea ecx, [esp + 0x18]
mov dword [esp + 0xdc], eax
call fcn.00419900
lea ecx, [esp + 0x18]
mov dword [esp + 0xe0], eax
call fcn.00419920
lea ecx, [esp + 0x18]
mov dword [esp + 0xe4], eax
call fcn.00419950
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], eax
call fcn.00419980
mov dword [esp + 0xec], eax
jmp 0x41bdcf
lea ecx, [esp + 0x10]
call fcn.004198a0
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], eax
call fcn.004198d0
lea ecx, [esp + 0x10]
mov dword [esp + 0xdc], eax
call fcn.00419900
lea ecx, [esp + 0x10]
mov dword [esp + 0xe0], eax
call fcn.00419920
lea ecx, [esp + 0x10]
mov dword [esp + 0xe4], eax
call fcn.00419950
lea ecx, [esp + 0x10]
mov dword [esp + 0xe8], eax
call fcn.00419980
cmp eax, 0x3b
jge 0x41bd86
lea ecx, [esp + 0x10]
call fcn.00419980
add eax, 1
mov dword [esp + 0xec], eax
jmp 0x41bdcf
mov eax, dword [esp + 0xe8]
add eax, 1
cmp eax, 0x3c
mov dword [esp + 0xe8], eax
jne 0x41bdc8
mov eax, dword [esp + 0xe4]
add eax, 1
cmp eax, 0x3c
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], eax
jne 0x41bdc8
add dword [esp + 0xe0], 1
mov dword [esp + 0xe4], edi
mov dword [esp + 0xec], edi
mov eax, 1
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov eax, dword [esi + 8]
cdq
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
mov dword [esp + 0xf4], 0x7f0
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x98], edi
call fcn.0041b390
test eax, eax
je 0x41be97
cmp dword [esi + 0x28], 0x40
jl 0x41be97
mov eax, dword [esi + 0x14]
cmp eax, edi
jle 0x41be87
mov edx, dword [esi + 0x18]
imul eax, eax, 0xbc
mov ecx, dword [eax + edx - 0x28]
add eax, edx
mov dword [esp + 0xd8], ecx
mov edx, dword [eax - 0x24]
mov dword [esp + 0xdc], edx
mov ecx, dword [eax - 0x20]
mov dword [esp + 0xe0], ecx
mov edx, dword [eax - 0x18]
mov dword [esp + 0xe4], edx
mov ecx, dword [eax - 0x14]
mov dword [esp + 0xe8], ecx
mov edx, dword [eax - 0x10]
mov dword [esp + 0xec], edx
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.0041b390
test eax, eax
jne 0x41be32
xor eax, eax
cmp dword [esi + 0x28], edi
setg al
jmp 0x41beac
mov dword [esi + 0x3c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0xc], edi
xor eax, eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0053042b
mov esp, ebp
pop ebp
ret