Function at 0x403e90
Capabilities:
Access peb ldr_data
Check if file exists
Copy file
Delete file
Download url
Get kernel32 base address
Get number of processors
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x488930
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push str.hjjm.dll.bak
lea eax, [esp + 0x1c]
push 0x4b90c8
push eax
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ef9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x403f3d
push str.hjjm.dll.bak
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403f3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403f57
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403f89
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
mov esi, dword [esp + 0x40]
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00406820
mov edx, dword [esi + 0x34]
lea esi, [esp + 0x18]
lea edi, [esp + 0x1c]
mov dword [esp + 0x2c], edx
call fcn.00402f80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.00406820
mov byte [esp + 0x38], 1
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 0x403ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov ebx, dword [esp + 0x18]
push ebx
call esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push 0x4b90c8
push edx
call fcn.00405fb0
push str..bak
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x50], 3
call fcn.00406070
mov eax, dword [eax]
add esp, 0x18
push 0
push 0
push eax
push ebx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40406c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404091
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x404123
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push 0x4b90c8
push edx
call fcn.00405fb0
push str..bak
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x50], 4
call fcn.00406070
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4040ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
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 0x404113
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x64
call ebp
add edi, 1
cmp edi, 3
jl 0x404005
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push 0x4b90c8
push edx
call fcn.00405fb0
push str..bak
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x50], 5
call fcn.00406070
add esp, 0x18
mov byte [esp + 0x38], 6
mov ebx, dword [esp + 0x2c]
push eax
call fcn.00403770
test eax, eax
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404188
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x404275
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push 0x4b90c8
push edx
call fcn.00405fb0
push str..bak
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x50], 7
call fcn.00406070
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40420a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
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 0x40422f
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 + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404254
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4045e3
push 0x64
call ebp
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push 0x4b90c8
push edx
call fcn.00405fb0
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push 0x4b90c8
mov bl, 8
push ecx
mov byte [esp + 0x50], bl
call fcn.00405fb0
push str..bak
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x5c], 9
call fcn.00406070
mov esi, dword [esi]
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 0x24
push 0
push esi
push eax
call edi
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 0x4042f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], bl
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 0x404315
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40433a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hjjm.dll.old
lea ecx, [esp + 0x30]
push 0x4b9120
push ecx
call fcn.00406070
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
push eax
call ebp
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40437c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.hjjm.dll.old
lea ecx, [esp + 0x2c]
push 0x4b9120
push ecx
call fcn.00406070
mov esi, eax
push str.hjjm.dll
lea edx, [esp + 0x3c]
push 0x4b9120
push edx
mov byte [esp + 0x50], 0xa
call fcn.00406070
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
call fcn.0046955f
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
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 0x4043fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push 0x4b9120
push edx
call fcn.00405fb0
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push 0x4b90c8
mov bl, 0xb
push ecx
mov byte [esp + 0x50], bl
call fcn.00405fb0
push str..bak
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x5c], 0xc
call fcn.00406070
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x24
push 0
push esi
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404474
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4045aa
call fcn.0044eb98
test eax, eax
je 0x4044de
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x4044de
call fcn.0041cd30
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0x3c]
call fcn.004048c0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push 0x4b90c8
push eax
call fcn.00405fb0
push str..bak
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x50], 0xd
call fcn.00406070
mov eax, dword [eax]
add esp, 0x18
push eax
call ebp
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40453a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40455e
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 + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404582
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4045a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4045f1
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4045ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4