Function at 0x403b50
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4217f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x428060]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x1c]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x403bae
push edi
jmp 0x403e51
mov edi, dword [esi + 0x18]
cmp edi, eax
jb 0x403bba
call fcn.0040f353
mov eax, dword [esi + 0xc]
imul edi, edi, 0x5c
mov ecx, dword [esi + 0x10]
sub ecx, eax
cmp dword [edi + eax + 0x54], 0
mov edi, dword [esi + 0x18]
mov eax, 0xb21642c9
jne 0x403d1f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x403bef
call fcn.0040f353
mov ecx, dword [esi + 0xc]
imul edi, edi, 0x5c
mov dword [edi + ecx + 0x54], 3
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x18]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x403c22
call fcn.0040f353
mov eax, dword [esi + 0xc]
imul edi, edi, 0x5c
lea ecx, [edi + eax + 0x38]
mov ebp, 8
cmp dword [ecx + 0x18], ebp
jb 0x403c3b
mov ebx, dword [ecx + 4]
jmp 0x403c3e
lea ebx, [ecx + 4]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x403c62
call fcn.0040f353
mov edx, dword [esi + 0xc]
imul edi, edi, 0x5c
cmp dword [edi + edx + 0x34], ebp
lea eax, [edi + edx + 0x1c]
jb 0x403c77
mov eax, dword [eax + 4]
jmp 0x403c7a
add eax, 4
mov ebp, dword [esp + 0x28]
push ebp
push 0
push ebx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x18]
test eax, eax
mov eax, 0xb21642c9
jne 0x403cc6
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x403cb3
call fcn.0040f353
mov ecx, dword [esi + 0xc]
imul edi, edi, 0x5c
mov dword [edi + ecx + 0x54], 1
jmp 0x403e0c
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x403cdd
call fcn.0040f353
mov ecx, dword [esi + 0xc]
imul edi, edi, 0x5c
mov dword [edi + ecx + 0x54], 2
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x18]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x403d10
call fcn.0040f353
mov ecx, dword [esi + 0xc]
imul edi, edi, 0x5c
lea eax, [edi + ecx + 0x58]
jmp 0x403e0a
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x403d36
call fcn.0040f353
mov eax, dword [esi + 0xc]
imul edi, edi, 0x5c
cmp dword [edi + eax + 0x54], 2
jne 0x403e1d
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x403d6b
call fcn.0040f353
mov ecx, dword [esi + 0xc]
imul edi, edi, 0x5c
mov ebx, 3
cmp dword [edi + ecx + 0x58], ebx
jg 0x403e1d
mov edi, dword [esi + 0x18]
call fcn.00406010
inc dword [eax + 0x58]
mov edi, dword [esi + 0x18]
add eax, 0x58
call fcn.00406010
mov dword [eax + 0x54], ebx
mov edi, dword [esi + 0x18]
call fcn.00406010
add eax, 0x38
mov ebp, 8
cmp dword [eax + 0x18], ebp
jb 0x403db3
mov ebx, dword [eax + 4]
jmp 0x403db6
lea ebx, [eax + 4]
mov edi, dword [esi + 0x18]
call fcn.00406010
add eax, 0x1c
cmp dword [eax + 0x18], ebp
jb 0x403dcb
mov eax, dword [eax + 4]
jmp 0x403dce
add eax, 4
mov ebp, dword [esp + 0x28]
push ebp
push 0
push ebx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov edi, dword [esi + 0x18]
test eax, eax
jne 0x403df3
call fcn.00406010
mov dword [eax + 0x54], 1
jmp 0x403e0c
call fcn.00406010
mov dword [eax + 0x54], 2
mov edi, dword [esi + 0x18]
call fcn.00406010
add eax, 0x58
inc dword [eax]
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
push 0
push 0x30
push 0
push 0
push ebp
call eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x18]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 1]
cmp edi, edx
jne 0x403e48
mov dword [esi + 0x18], 0
jmp 0x403e4c
inc edi
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4