Function at 0x1127e10
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.0111a8a0
push edi
push 0x1014f84
lea esi, [ebx + 0x119]
push 0x103
push esi
mov dword [ebx + 0x634], eax
call fcn.01029620
lea eax, [ebx + 0x14]
add esp, 0x10
test eax, eax
je 0x1127e6c
test esi, esi
je 0x1127ea4
push 0x103
push esi
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
test esi, esi
je 0x1127ea4
push 0x5c
push esi
call dword [sym.imp.msvcrt.dll_strrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x1127ea4
lea eax, [ebx + 0x21e]
inc esi
test eax, eax
je 0x1127ea1
test esi, esi
je 0x1127ea1
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 + 0x594]
lea esi, [ebx + 0x323]
push esi
push 0xc3
call eax
mov ecx, dword [ebx]
push 1
add ecx, 0x13cfc
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
je 0x1127edb
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1127ee4
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 0x10216ec
lea ecx, [ebp - 0x44]
push 0x3f
push ecx
call fcn.01029620
add esp, 0x20
test esi, esi
je 0x1127f56
lea eax, [ebp - 0x44]
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1127f30
lea edi, [ebx + 0x323]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1127f40
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 0x100c25c
push 0x103
add ebx, 0x428
push ebx
call fcn.0102aaf0
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x112a980
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.011005b0
cmp eax, 0xffffffff
je 0x112aa03
test al, 0x10
je 0x112a9cf
mov edx, dword [ebp + 0xc]
push edx
push 0x112a8c0
push edi
call fcn.0102a730
push eax
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push edi
push ecx
call fcn.0102bdc0
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.0111a8a0
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.011076d0
pop edi
pop esi
pop ebp
ret 0xc