Function at 0x1d3513d
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, 0x1d5a3fb
call fcn.01d55708
sub esp, 0x210
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 0xf4], 0
push edi
je 0x1d35174
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
pop ecx
mov ecx, dword [ebx + 0xf4]
mov byte [ebp - 0xd], 1
cmp ecx, dword [eax + 8]
jne 0x1d35178
mov byte [ebp - 0xd], 0
push dword [ebp + 0xc]
lea ecx, [ebx + 0x104]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov dword [ebx + 0x108], esi
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
pop ecx
add eax, 0x40
push eax
lea ecx, [ebx + 0x100]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov eax, dword [ebx + 0x108]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp dword [ebx + 0x20], 0
mov eax, dword [eax + 8]
pop ecx
mov dword [ebx + 0xf4], eax
je 0x1d35230
push dword [ebx + 0x104]
lea eax, [ebp - 0x21c]
push dword [ebx + 0x100]
push str.___s__
push pe_nt_image_headers32
push eax
call dword [sym.imp.MSVCR100.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12868
cmp byte [ebp - 0xd], 1
jne 0x1d35218
mov eax, dword [ebx + 0x5b0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
lea ecx, [ebx + 0x110]
mov dword [esp], 0x1d6b48a
call sub.mfc100.dll_Ordinal_12868
lea ecx, [ebx + 0x110]
call sub.mfc100.dll_Ordinal_12344
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1d35345
lea eax, [ebp - 0x11c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1d35253
sub eax, edx
cmp byte [ebp + eax - 0x11d], 0x5c
je 0x1d3527c
lea edi, [ebp - 0x11c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1d3526d
mov esi, 0x1d6b504
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push dword [0x1d89370]
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push 0x1d6b508
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
lea edi, [ebp - 0x11c]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1d352a8
mov esi, 0x1d6b50c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x18]
movsw word es:[edi], word [esi]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1d352c4
lea edi, [ebp - 0x11c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1d352d4
and dword [ebp + 0xc], 0
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]
cmp byte [ebp - 0x11c], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
je 0x1d3532e
lea esi, [ebp - 0x11c]
cmp byte [esi], 0x5c
jne 0x1d3531b
push 0
lea eax, [ebp - 0x11c]
push eax
mov byte [esi], 0
call edi
mov byte [esi], 0x5c
inc dword [ebp + 0xc]
movzx esi, word [ebp + 0xc]
lea esi, [ebp + esi - 0x11c]
cmp byte [esi], 0
jne 0x1d35305
push 0
lea eax, [ebp - 0x11c]
push eax
call edi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov eax, dword [esi]
push esi
mov dword [ebp - 4], 1
call dword [eax + 0xc]
push eax
lea eax, [ebp - 0x14]
push str._d.TXT
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1d35379
lea edi, [ebp - 0x11c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1d35389
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x11c]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebx + 0x10c]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8