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

Disassembly:
sub esp, 0x528
mov eax, dword [0x10056024]
xor eax, esp
mov dword [esp + 0x524], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x1000e30d
push 0x206
lea eax, [esp + 0x226]
push ebx
push eax
mov word [esp + 0x22c], bx
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [esp + 0x2a]
push ebx
push ecx
mov word [esp + 0x30], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
mov edx, 0x104
mov eax, esi
lea ecx, [esp + 0x220]
call fcn.100093b0
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [esp + eax + 0x220]
mov word [esp + eax + 0x18], cx
add eax, 2
cmp cx, bx
jne 0x1000de80
lea eax, [esp + 0x220]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000dea0
sub eax, edx
sar eax, 1
cmp eax, 7
push ebp
mov ebp, 0x5c
jbe 0x1000dfb5
lea eax, [esp + 0x224]
lea edx, [eax + 2]
jmp 0x1000ded0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000ded0
sub eax, edx
sar eax, 1
lea esi, [esp + eax*2 + 0x21c]
mov ecx, str..adi
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000df16
cmp dx, bx
je 0x1000df12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000df16
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1000def0
xor eax, eax
jmp 0x1000df1b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1000df55
mov ecx, str..afi
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000df4c
cmp dx, bx
je 0x1000df48
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000df4c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1000df26
xor eax, eax
jmp 0x1000df51
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1000dfb5
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000df60
sub eax, edx
sar eax, 1
add eax, 0xffffffff
cmp eax, ebx
jl 0x1000df8b
movzx ecx, word [esp + eax*2 + 0x1c]
cmp cx, bp
je 0x1000df8b
cmp cx, 0x2f
je 0x1000df8b
sub eax, 1
jns 0x1000df76
mov word [esp + eax*2 + 0x1e], bx
xor eax, eax
jmp 0x1000dfa0
movzx ecx, word [esp + eax + 0x1c]
mov word [esp + eax + 0x224], cx
add eax, 2
cmp cx, bx
jne 0x1000dfa0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea edx, [esp + 0x20]
push edx
call edi
cmp eax, 0xffffffff
jne 0x1000e30b
cmp word [esp + 0x228], bp
jne 0x1000e1bd
cmp word [esp + 0x22a], bp
jne 0x1000e1bd
lea eax, [esp + 0x228]
mov ebp, 2
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000dff7
sub eax, edx
sar eax, 1
mov edi, eax
lea eax, [esp + 0x22c]
push 0x5c
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.MSVCR80.dll_wcschr]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1000e10a
lea esp, [esp]
mov ebp, esi
lea ecx, [esp + 0x228]
sub ebp, ecx
sar ebp, 1
add ebp, 1
cmp ebp, edi
jg 0x1000e10a
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x10]
push edx
mov eax, ecx
push eax
mov word [esi], bx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000e0e8
push 0x103
lea ecx, [esp + 0x435]
push ebx
push ecx
mov byte [esp + 0x43c], bl
call sub.MSVCR80.dll_memset
push 0x104
lea edx, [esp + 0x238]
push edx
lea eax, [esp + 0x444]
push eax
call dword [sym.imp.MSVCR80.dll_wcstombs]
add esp, 0x18
call sub.Comn.dll_GetObjectLog
lea ecx, [esp + 0x430]
push ecx
mov edi, eax
mov ebx, dword [edi]
push 0x7a
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
mov edx, dword [ebx + 0xc]
add esp, 4
push eax
push 0x1004bed8
push edi
call edx
mov edi, dword [esp + 0x2c]
add esp, 0x10
xor ebx, ebx
lea eax, [esp + ebp*2 + 0x228]
push 0x5c
push eax
mov word [esi], 0x5c
call dword [sym.imp.MSVCR80.dll_wcschr]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x1000e030
add ebp, 1
cmp ebp, edi
jge 0x1000e30b
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x22c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push edx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000e30b
push 0x103
lea eax, [esp + 0x435]
push ebx
push eax
mov byte [esp + 0x43c], bl
call sub.MSVCR80.dll_memset
push 0x104
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x444]
push edx
call dword [sym.imp.MSVCR80.dll_wcstombs]
add esp, 0x18
call sub.Comn.dll_GetObjectLog
mov esi, eax
mov edi, dword [esi]
lea eax, [esp + 0x430]
push eax
push 0x8c
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
mov ecx, dword [edi + 0xc]
add esp, 4
push eax
push 0x1004bed8
push esi
call ecx
add esp, 0x10
jmp 0x1000e30b
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000e1c4
sub eax, edx
sar eax, 1
mov esi, eax
sub esi, 1
js 0x1000e205
lea ebx, [ebx]
lea edx, [esp + 0x20]
push edx
call edi
cmp eax, 0xffffffff
jne 0x1000e205
lea esp, [esp]
movzx eax, word [esp + esi*2 + 0x20]
cmp ax, bp
je 0x1000e21d
cmp ax, 0x2f
je 0x1000e21d
sub esi, 1
jns 0x1000e1f0
lea eax, [esp + 0x20]
push eax
call edi
cmp eax, 0xffffffff
je 0x1000e30b
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1000e236
cmp esi, ebx
jl 0x1000e205
mov word [esp + esi*2 + 0x20], bx
jmp 0x1000e1e0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x20]
push ecx
call edi
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000e244
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x228]
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000e260
sub eax, edi
sar eax, 1
cmp edx, eax
jae 0x1000e30b
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x228]
mov word [esp + eax + 0x20], cx
add eax, 2
cmp cx, bx
jne 0x1000e280
add esi, 1
cmp esi, 0x104
jge 0x1000e2c1
movzx eax, word [esp + esi*2 + 0x20]
cmp ax, 0x5c
je 0x1000e2c1
cmp ax, 0x2f
je 0x1000e2c1
cmp ax, bx
je 0x1000e2c1
add esi, 1
cmp esi, 0x104
jl 0x1000e2a0
cmp word [esp + esi*2 + 0x20], bx
je 0x1000e30b
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov word [esp + esi*2 + 0x28], bx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call ebp
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000e230
pop edi
pop ebp
mov ecx, dword [esp + 0x52c]
pop esi
pop ebx
xor ecx, esp
call fcn.10045f6c
add esp, 0x528
ret