Function at 0x4101c0
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x459be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x54], 1
call fcn.0043422f
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 2
call fcn.00406b90
mov eax, dword [eax]
mov ecx, 0x464848
jmp 0x410210
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410238
test dx, dx
je 0x410232
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410238
add eax, 4
add ecx, 4
test dx, dx
jne 0x410210
xor esi, esi
xor eax, eax
jmp 0x41023f
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410264
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x410278
push 1
push 0x464848
lea ecx, [esp + 0x64]
call fcn.004045d0
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x68]
call fcn.00406b90
mov eax, dword [eax]
mov ecx, 0x464848
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4102b6
cmp dx, si
je 0x4102b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4102b6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x410290
xor eax, eax
jmp 0x4102bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4102e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4102f4
push 1
push 0x464848
lea ecx, [esp + 0x68]
call fcn.004045d0
push 0x466970
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00404360
add esp, 0xc
mov byte [esp + 0x54], 3
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x3c]
call fcn.004342c7
test eax, eax
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410347
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41054b
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileExW]
jmp 0x410362
xor esi, esi
lea ecx, [esp + 0x34]
call fcn.00433f8f
test eax, eax
lea ecx, [esp + 0x34]
setne byte [esp + 0x13]
call fcn.004341f0
test eax, eax
jne 0x410540
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x38]
call eax
test eax, eax
je 0x410469
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.0043459b
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x60], 4
call fcn.004042a0
add esp, 0xc
mov byte [esp + 0x54], 6
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 0x4103e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4105bd
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.004050d0
add eax, 0x10
mov dword [esi], eax
mov edx, esp
mov dword [esp + 0x38], esp
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 7
call fcn.0043450a
mov ecx, edi
mov byte [esp + 0x5c], 6
call fcn.004101c0
or edx, 0xffffffff
mov byte [esp + 0x54], 2
test al, al
mov eax, dword [esp + 0x14]
je 0x4105c9
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410540
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x410540
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x38]
mov dword [edi + 0x90], esi
mov dword [edi + 0x94], esi
mov dword [esp + 0x20], esi
call fcn.0043459b
push eax
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x60], 8
call fcn.004042a0
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 9
call fcn.0043450a
mov esi, dword [esi]
mov eax, dword [eax]
push 0
lea edx, [esp + 0x20]
push edx
push edi
push 0x410660
push esi
push eax
call ebp
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4104ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 8
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 0x410513
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 2
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 0x410538
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4105e2
cmp byte [esp + 0x13], 0
jne 0x410360
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 1
call fcn.00434258
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41057e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4105a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x14]
or edx, 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4105e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 1
call fcn.00434258
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410615
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41063d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 8