Function at 0x402030
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4512e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push str.hjjm.dll
lea eax, [esp + 0x14]
push 0x4723c8
push eax
call fcn.00401e20
mov eax, dword [eax]
push eax
mov dword [esp + 0x38], 0
call fcn.00406270
mov esi, eax
mov eax, dword [esp + 0x20]
or edi, 0xffffffff
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4020a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
push str.hjjm.dll
push 0x4723a8
je 0x402190
lea ecx, [esp + 0x18]
push ecx
call fcn.00401e20
mov eax, dword [eax]
push eax
mov dword [esp + 0x38], 1
call fcn.00406270
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4020fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x402276
push str.hjjm.dll
lea ecx, [esp + 0x18]
push 0x4723a8
push ecx
call fcn.00401e20
mov esi, eax
push str.hjjm.dll
lea edx, [esp + 0x20]
push 0x4723c8
push edx
mov dword [esp + 0x40], 2
call fcn.00401e20
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402166
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 dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x402276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402276
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401e20
mov eax, dword [eax]
push eax
mov dword [esp + 0x38], 3
call fcn.00406270
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x28], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4021d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40227b
push str.hjjm.dll
lea ecx, [esp + 0x20]
push 0x4723c8
push ecx
call fcn.00401e20
mov esi, eax
push str.hjjm.dll
lea edx, [esp + 0x28]
push 0x4723a8
push edx
mov dword [esp + 0x40], 4
call fcn.00401e20
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
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 0x40223e
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 + 0x28], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40225f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40227b
call fcn.00414d02
mov eax, dword [eax + 4]
test eax, eax
je 0x402276
mov ecx, eax
call fcn.00411c50
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret