Function at 0x4091a0
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574f18
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00438180
mov ecx, dword [ebp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x6c]
call fcn.00452ef4
mov byte [ebp - 4], 2
push str..
lea ecx, [ebp - 0x10]
call fcn.00403900
mov bl, 3
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00408920
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00452f9b
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40924d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409270
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x409621
mov bl, 0x14
lea ebx, [ebx]
lea ecx, [ebp - 0x6c]
call fcn.00452cdc
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x48], eax
call fcn.00452eb6
test eax, eax
jne 0x409617
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 4
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
jne 0x409617
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 2
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
jne 0x409617
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [ebp - 0x6c]
call eax
test eax, eax
je 0x409536
push 0x58f1f8
lea ecx, [ebp - 0x14]
call fcn.00403900
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00453277
mov esi, eax
mov byte [ebp - 4], 8
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00408920
mov byte [ebp - 4], 9
push esi
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00408920
add esp, 0x18
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409343
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409389
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x4093a8
push 0
lea ecx, [ebp - 0x10]
call fcn.004019c0
mov eax, dword [ebp - 0x10]
push eax
call fcn.005434dc
add esp, 4
push 0x58f1f8
lea ecx, [ebp - 0x1c]
call fcn.00403900
mov byte [ebp - 4], 0x11
push 0x58f1f8
lea ecx, [ebp - 0x18]
call fcn.00403900
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00453277
mov esi, eax
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00408920
mov byte [ebp - 4], bl
add esp, 8
mov edx, esp
mov dword [ebp - 0x4c], esp
push esi
push eax
push edx
call fcn.00408920
add esp, 0xc
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00453277
mov esi, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00408920
mov byte [ebp - 4], 0x17
add esp, 8
mov ecx, esp
mov dword [ebp - 0x50], esp
push esi
push eax
push ecx
call fcn.00408920
add esp, 0xc
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x1a
mov ecx, edi
call fcn.004091a0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40947c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40949e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409507
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40952a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
jmp 0x4095fb
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00453277
mov esi, eax
mov byte [ebp - 4], 0x22
push 0x58eb80
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00406860
mov byte [ebp - 4], 0x23
push esi
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00408920
add esp, 0x18
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40958f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004531de
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x20]
mov eax, dword [eax]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409617
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x48], 0
jne 0x409280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00452f26
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409650
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8