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

Disassembly:
sub esp, 0x220
mov eax, dword [0x101b03d4]
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 0x102c6adc
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
call fcn.10040a20
add esp, 8
mov bh, bh
mov ch, ch
push 0x1ff
lea ecx, [esp + 0x31]
push 0
push ecx
mov byte [esp + 0x38], 0
call fcn.100fbc20
add esp, 0xc
mov ch, ch
lea edx, [esp + 0x2c]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100d9111
mov edi, edi
lea edx, [esp + 0x2c]
push 0x101658b4
push edx
call fcn.10040a00
add esp, 8
mov edx, edx
mov cl, 0x74
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
mov al, al
test eax, eax
je 0x100d9170
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 0x100d9161
nop
jmp 0x100d91a4
lea eax, [esp + 0x24]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100d9176
lea edi, [esp + 0x2c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100d9188
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]
mov bh, bh
mov ah, ah
mov edi, edi
mov byte [esp + 0x10], 0x72
mov byte [esp + 0x11], 0x62
mov byte [esp + 0x12], 0
push ebx
pop ebx
lea ecx, [esp + 0x10]
push ecx
push ebp
call fcn.100fc9ed
add esp, 8
mov edi, eax
mov bh, bh
test edi, edi
je 0x100d9329
push 2
push 0
push edi
call fcn.100fc8a4
add esp, 0xc
mov ebp, ebp
push edi
call fcn.100fc7af
add esp, 4
mov ebx, eax
push ecx
pop ecx
push 0
push 0
push edi
call fcn.100fc8a4
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
push ebx
call fcn.100fab8c
add esp, 4
mov esi, eax
mov ah, ah
test esi, esi
je 0x100d921e
push edi
push ebx
push 1
push esi
call fcn.100fc5fc
add esp, 0x10
mov dh, dh
push edi
call fcn.100fc2e4
add esp, 4
mov ch, ch
test esi, esi
je 0x100d9329
push ebx
push esi
call fcn.1003fbb0
add esp, 8
test eax, eax
je 0x100d92f5
mov edx, dword [esp + 0x14]
push edx
push ebx
push esi
call fcn.1003f9a0
add esp, 0xc
mov ebx, eax
mov eax, eax
test ebx, ebx
jle 0x100d931c
mov byte [esp + 0x24], 0x77
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0
push ebx
pop ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.100fc9ed
add esp, 8
mov edi, eax
mov esi, esi
test edi, edi
je 0x100d931c
push edi
push ebx
lea edx, [esi + 8]
push 1
push edx
call fcn.100feb7e
add esp, 0x10
mov eax, eax
push edi
call fcn.100fc2e4
add esp, 4
mov ebp, ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
mov ecx, ecx
push 0
push ebp
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
mov cl, cl
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ch, ch
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.1003fbd0
add esp, 8
mov ebx, ebx
jmp 0x100d931c
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 eax, eax
mov ecx, dword [esp + 0x14]
push ecx
push ebp
call fcn.1003fbd0
add esp, 8
nop
push esi
call fcn.100fac4f
add esp, 4
mov edx, edx
jmp 0x100d9351
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 dh, dh
mov edx, dword [esp + 0x14]
push edx
push ebp
call fcn.1003fbd0
add esp, 8
mov edi, edi
push 0x102c6adc
call fcn.10040ab0
add esp, 4
push ebx
pop ebx
mov dl, dl
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100fb12a
add esp, 0x220
ret 0x14