Function at 0x401f30
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4776a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push str.hjjm.dll
lea eax, [esp + 0x14]
push 0x4aa948
push eax
call fcn.00401d00
mov eax, dword [eax]
push eax
mov dword [esp + 0x38], 0
call fcn.0040a6c0
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 0x401fa5
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 0x4aa924
je 0x402090
lea ecx, [esp + 0x18]
push ecx
call fcn.00401d00
mov eax, dword [eax]
push eax
mov dword [esp + 0x38], 1
call fcn.0040a6c0
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 0x401ffc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x402176
push str.hjjm.dll
lea ecx, [esp + 0x18]
push 0x4aa924
push ecx
call fcn.00401d00
mov esi, eax
push str.hjjm.dll
lea edx, [esp + 0x20]
push 0x4aa948
push edx
mov dword [esp + 0x40], 2
call fcn.00401d00
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 0x402066
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 0x402176
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402176
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401d00
mov eax, dword [eax]
push eax
mov dword [esp + 0x38], 3
call fcn.0040a6c0
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 0x4020d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40217b
push str.hjjm.dll
lea ecx, [esp + 0x20]
push 0x4aa948
push ecx
call fcn.00401d00
mov esi, eax
push str.hjjm.dll
lea edx, [esp + 0x28]
push 0x4aa924
push edx
mov dword [esp + 0x40], 4
call fcn.00401d00
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 0x40213e
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 0x40215f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40217b
call fcn.00434c9e
mov eax, dword [eax + 4]
test eax, eax
je 0x402176
mov ecx, eax
call fcn.004315a0
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