Function at 0x100d0800
Capabilities:
Copy file
Delete file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x220
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x22c]
push ebx
push ebp
mov ebp, dword [esp + 0x238]
push esi
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x244]
push 0
push 0x102c3ac4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
call fcn.10041030
push 0x1ff
lea ecx, [esp + 0x39]
push 0
push ecx
mov byte [esp + 0x40], 0
call fcn.100f6b80
lea edx, [esp + 0x40]
add esp, 0x14
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100d0878
lea edx, [esp + 0x2c]
push 0x1016199c
push edx
call fcn.10041010
mov cl, 0x74
add esp, 8
test eax, eax
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0
je 0x100d08d0
lea ecx, [esp + 0x24]
mov edx, eax
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
mov byte [edx + ecx], al
add ecx, 1
test al, al
jne 0x100d08c2
jmp 0x100d0902
lea eax, [esp + 0x24]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100d08d6
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100d08e8
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push ebp
mov byte [esp + 0x18], 0x72
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0
call fcn.100f794d
mov edi, eax
add esp, 8
test edi, edi
je 0x100d0a43
push 2
push 0
push edi
call fcn.100f7804
push edi
call fcn.100f770f
push 0
push 0
push edi
mov ebx, eax
call fcn.100f7804
push ebx
call fcn.100f5b7c
mov esi, eax
add esp, 0x20
test esi, esi
je 0x100d0961
push edi
push ebx
push 1
push esi
call fcn.100f755c
add esp, 0x10
push edi
call fcn.100f7244
add esp, 4
test esi, esi
je 0x100d0a43
push ebx
push esi
call fcn.10040320
add esp, 8
test eax, eax
je 0x100d0a14
mov edx, dword [esp + 0x14]
push edx
push ebx
push esi
call fcn.10040100
mov ebx, eax
add esp, 0xc
test ebx, ebx
jle 0x100d0a38
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x2c], 0x77
mov byte [esp + 0x2d], 0x62
mov byte [esp + 0x2e], 0
call fcn.100f794d
mov edi, eax
add esp, 8
test edi, edi
je 0x100d0a38
push edi
push ebx
lea edx, [esi + 8]
push 1
push edx
call fcn.100f9b6e
push edi
call fcn.100f7244
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
push 0
push ebp
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, dword [esp + 0x14]
push eax
jmp 0x100d0a2f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x14]
push ecx
push ebp
call fcn.10040340
add esp, 8
push esi
call fcn.100f5c3f
add esp, 4
jmp 0x100d0a67
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ebp
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
mov edx, dword [esp + 0x14]
push edx
push ebp
call fcn.10040340
add esp, 8
push 0x102c3ac4
call fcn.100410c0
mov ecx, dword [esp + 0x230]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f611a
add esp, 0x220
ret 0x14