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

Disassembly:
push 0xffffffffffffffff
push 0x44f639
mov eax, dword fs:[0]
push eax
sub esp, 0x528
mov eax, dword [0x46b9d8]
xor eax, esp
mov dword [esp + 0x524], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b9d8]
xor eax, esp
push eax
lea eax, [esp + 0x53c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54c]
push 0x400
lea eax, [esp + 0x13c]
push eax
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405510
lea edx, [esp + 0x138]
push edx
mov dword [esp + 0x548], 0
call fcn.00407360
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.00405510
mov eax, dword [esp + 0x18]
push 0x4541f2
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54c], 1
call fcn.00408130
push 0x454b9c
lea ecx, [esp + 0x18]
call fcn.00405510
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x550], 2
call fcn.004089c0
add esp, 0xc
mov eax, dword [eax]
lea edi, [esi + 0x164]
push eax
mov ecx, edi
mov byte [esp + 0x548], 3
call fcn.0040eb70
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x544], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x544], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00408a80
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.00407580
mov eax, dword [ebp + 0x13c]
mov dword [esp + 0x2c], esi
lea esi, [ebp + 0x13c]
push eax
mov byte [esp + 0x548], 5
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [esp + 0x24]
cmp dword [eax - 4], 1
jle 0x40aef5
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x28]
call fcn.00402cc0
mov eax, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40af0d
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00402cc0
mov esi, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0
push ebx
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x40b0ea
push str.rxjhdlq.bak
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004053d0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.rxjhdlq.bak
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004053d0
mov esi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x55c], 6
call fcn.004089c0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40afca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x544], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aff2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00404ff0
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x558], 7
call fcn.004089c0
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.rxjhdlq.bak
lea edx, [esp + 0x2c]
push edx
push ecx
mov byte [esp + 0x55c], 8
call fcn.004053d0
add esp, 0xc
mov ecx, ebp
mov byte [esp + 0x550], 5
call fcn.00407d90
lea ecx, [esp + 0x28]
call fcn.00406fa0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x544], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b08d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x544], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b0b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x544], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b0e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40b1fb
push 0x454b80
lea ecx, [esp + 0x24]
call fcn.00405510
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x1c]
mov bl, 9
push edx
mov byte [esp + 0x550], bl
call fcn.004089c0
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, edi
mov byte [esp + 0x548], 0xa
call fcn.0040eb70
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x544], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b14d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x544], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b175
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
call fcn.00406fa0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x544], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x544], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x544], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x53c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x524]
xor ecx, esp
call fcn.00437a5c
add esp, 0x534
ret 4