Function at 0x112d390
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x648]
mov ecx, dword [ebx]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push edi
push ecx
call fcn.01120830
push edi
push 0x1015d54
lea esi, [ebx + 0x119]
push 0x103
push esi
mov dword [ebx + 0x634], eax
call fcn.0102c510
lea eax, [ebx + 0x14]
add esp, 0x10
test eax, eax
je 0x112d3ec
test esi, esi
je 0x112d424
push 0x103
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
test esi, esi
je 0x112d424
push 0x5c
push esi
call dword [sym.imp.msvcrt.dll_strrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x112d424
lea eax, [ebx + 0x21e]
inc esi
test eax, eax
je 0x112d421
test esi, esi
je 0x112d421
push 0x103
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov byte [esi], 0
mov edx, dword [ebx]
mov eax, dword [edx + 0x5a4]
lea esi, [ebx + 0x323]
push esi
push 0xc3
call eax
mov ecx, dword [ebx]
push 1
add ecx, 0x1464c
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
je 0x112d45b
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x112d464
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push 0x41
lea edx, [ebp - 0x44]
push 0
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
mov eax, dword [ebx + 0x638]
push eax
push 0x1021500
lea ecx, [ebp - 0x44]
push 0x3f
push ecx
call fcn.0102c510
add esp, 0x20
test esi, esi
je 0x112d4d6
lea eax, [ebp - 0x44]
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x112d4b0
lea edi, [ebx + 0x323]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x112d4c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebx + 0x323]
push eax
push 0x100cc3c
push 0x103
add ebx, 0x428
push ebx
call fcn.0102d9e0
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x112fc80
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0
push edi
push ecx
call fcn.01109650
cmp eax, 0xffffffff
je 0x112fd03
test al, 0x10
je 0x112fccf
mov edx, dword [ebp + 0xc]
push edx
push 0x112fbc0
push edi
call fcn.0102d5e0
push eax
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push edi
push ecx
call fcn.0102ecb0
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
pop edi
pop esi
pop ebp
ret 0xc
mov edx, dword [esi + 8]
mov eax, dword [edx]
push 0
push edi
push eax
call fcn.01120830
mov ecx, dword [ebp + 0xc]
add dword [ecx + 0x248], eax
push 0
adc dword [ecx + 0x24c], 0
mov ecx, dword [esi + 0x2d3dc]
mov edx, dword [ecx + 0xc]
mov eax, dword [esi + 8]
push edx
push edi
push eax
call fcn.01110fa0
pop edi
pop esi
pop ebp
ret 0xc