Function at 0x404110
Capabilities:
Copy file
Delete file
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x451478
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
call fcn.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404157
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x6c], 0
call fcn.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404189
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
mov byte [esp + 0x6c], 1
mov dword [esp + 0x20], 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x18], eax
jg 0x40421c
lea eax, [ebp - 0x10]
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x40469e
cmp eax, dword [ebx + 0xc]
jge 0x40469e
lea esi, [eax*4]
mov eax, dword [ebx + 8]
add eax, esi
push eax
lea ecx, [esp + 0x20]
call fcn.00401c80
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 0x20]
jge 0x40469e
mov edx, dword [ebx + 0x1c]
mov esi, dword [esi + edx]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.004040b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 2
call fcn.00401c80
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40429b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
xor edi, edi
push ebp
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push 0x4723a8
push edx
call fcn.00401d60
push str..bak
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x84], 3
call fcn.00401e20
mov eax, dword [eax]
add esp, 0x18
push 0
push 0
push eax
push ebp
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
mov eax, dword [esp + 0x2c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40430b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4043c9
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x3c]
push 0x4723a8
push edx
call fcn.00401d60
push str..bak
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x84], 4
call fcn.00401e20
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404390
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 3
jl 0x4042a1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push 0x4723a8
push edx
call fcn.00401d60
push str..bak
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x84], 5
call fcn.00401e20
add esp, 0x18
mov ecx, dword [esp + 0x24]
push esi
push eax
mov byte [esp + 0x74], 6
call fcn.00401210
test eax, eax
mov eax, dword [esp + 0x3c]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x6c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404457
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4044e4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
push 0x4723a8
push edx
call fcn.00401d60
push str..bak
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x84], 7
call fcn.00401e20
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x14]
push str.hjjm.exe
push edi
call fcn.0043b333
add esp, 8
test eax, eax
je 0x404684
push str.hjjm.dll
push edi
call fcn.0043b333
add esp, 8
test eax, eax
je 0x404684
push str.hjtools_menu.dll
push edi
call fcn.0043b333
add esp, 8
test eax, eax
je 0x404684
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x58]
push 0x4723a8
push edx
call fcn.00401d60
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
push 0x4723a8
push ecx
mov byte [esp + 0x84], 8
call fcn.00401d60
push str..bak
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x90], 9
call fcn.00401e20
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x24
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40467c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x60]
push 0x4723a8
push edx
call fcn.00401d60
push str..bak
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x84], 0xa
call fcn.00401e20
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404684
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404684
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
jl 0x404214
jmp 0x4041b7
jmp fcn.00413f76