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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530223
mov eax, dword fs:[0]
push eax
sub esp, 0x528
mov eax, dword [0x58deec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x400
lea eax, [ebp - 0x514]
push eax
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x514]
push ecx
lea ecx, [ebp - 0x51c]
call fcn.00405830
lea edx, [ebp - 0x514]
push edx
mov dword [ebp - 4], 0
call fcn.004077d0
add esp, 4
push eax
lea ecx, [ebp - 0x520]
call fcn.00405830
mov eax, dword [ebp - 0x520]
push 0x5409a6
push eax
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 1
call fcn.00408670
lea esi, [edi + 0x4f0]
push 0
mov ecx, esi
call fcn.0041deb5
mov ecx, esi
mov dword [esi + 0x74], 0xffffff
call fcn.0040f320
lea ecx, [ebp - 0x520]
push ecx
lea edx, [ebp - 0x518]
push 0x54148c
push edx
call fcn.00409400
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041ddea
mov eax, dword [ebp - 0x518]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 5
mov ecx, esi
call fcn.0041deb5
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x520]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x524]
push ecx
call fcn.00409400
add esp, 0xc
lea ecx, [ebp - 0x530]
call fcn.00407fd0
mov eax, dword [ebx + 0xb8]
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x52c], edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [ebp - 0x524]
cmp dword [eax - 4], 1
jle 0x40bb4d
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x524]
call fcn.00401aa0
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x518], eax
mov eax, dword [ebx + 0xb8]
cmp dword [eax - 4], 1
jle 0x40bb6e
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebx + 0xb8]
call fcn.00401aa0
mov edx, dword [ebp - 0x518]
mov edi, dword [ebx + 0xb8]
lea ecx, [ebp - 0x530]
push ecx
push 0
push edx
push edi
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x40bd61
push str.rxjhdlq.bak
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x518]
push ecx
call fcn.00405750
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x518]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bbda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.rxjhdlq.bak
lea ecx, [ebp - 0x51c]
push ecx
lea edx, [ebp - 0x528]
push edx
call fcn.00405750
mov esi, eax
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x51c]
push ecx
lea edx, [ebp - 0x518]
push edx
mov byte [ebp - 4], 5
call fcn.00409340
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 [ebp - 0x518]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x528]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bc6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x524]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x528], esp
mov esi, esp
push eax
call fcn.00405390
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x518], esp
lea edx, [ebp - 0x520]
push edx
lea eax, [ebp - 0x51c]
push eax
push ecx
mov byte [ebp - 4], 6
call fcn.00409340
add esp, 8
mov ecx, esp
mov dword [ebp - 0x534], esp
push str.rxjhdlq.bak
lea edx, [ebp - 0x51c]
push edx
push ecx
mov byte [ebp - 4], 7
call fcn.00405750
add esp, 0xc
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004083a0
lea ecx, [ebp - 0x530]
call fcn.00407500
mov eax, dword [ebp - 0x524]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x520]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x51c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40be52
push 0
mov ecx, esi
call fcn.0041deb5
mov ecx, esi
mov dword [esi + 0x74], 0xffffff
call fcn.0040f320
lea ecx, [ebp - 0x520]
push ecx
lea edx, [ebp - 0x528]
push 0x541470
push edx
call fcn.00409400
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0041ddea
mov eax, dword [ebp - 0x528]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bdc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 5
mov ecx, esi
call fcn.0041deb5
lea ecx, [ebp - 0x530]
call fcn.00407500
mov eax, dword [ebp - 0x524]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x520]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x51c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005156a7
mov esp, ebp
pop ebp
ret 4