Function at 0x435fd0
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c362e
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4f4214]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x45c], eax
mov eax, dword [0x4f41d4]
mov esi, ecx
mov ebx, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x4f41d4
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], edi
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x45c], 1
call fcn.004025b0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.0049f910
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
call fcn.00442210
mov edi, eax
xor ebx, ebx
xor eax, eax
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x44c], eax
mov word [ebp - 0x448], cx
mov dword [ebp - 0x220], ebx
cmp edi, ebx
jne 0x4360b7
mov dword [0x4f99b0], 0x10000
jmp 0x4360e3
cmp dword [edi], 1
je 0x4360c8
mov dword [0x4f99b0], 0x80000
jmp 0x4360e3
mov ecx, dword [edi + 4]
push 0xffffffffffffffff
lea edx, [ebp - 0x44c]
call fcn.00441730
mov dword [0x4f99b0], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], ebx
cmp eax, ebx
jle 0x4361fe
mov edx, dword [ebp - 0x460]
test edx, edx
jne 0x436105
xor eax, eax
jmp 0x43611f
mov eax, edx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436110
sub eax, ebx
sar eax, 1
push edx
push esi
mov ebx, eax
call fcn.004026a0
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x44c], ebx
mov word [ebp - 0x448], dx
mov dword [ebp - 0x220], ebx
cmp edi, ebx
jne 0x43614f
mov dword [0x4f99b0], 0x10000
jmp 0x43617a
cmp dword [edi], 1
je 0x436160
mov dword [0x4f99b0], 0x80000
jmp 0x43617a
mov eax, dword [ebp - 0x450]
mov ecx, dword [edi + 4]
push eax
lea edx, [ebp - 0x44c]
call fcn.00441730
mov dword [0x4f99b0], eax
lea eax, [ebp - 0x448]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436183
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x448]
push ecx
mov ebx, esi
call fcn.00420160
cmp dword [ebp - 0x240], 0x91
jne 0x4361d3
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x450]
inc eax
mov dword [ebp - 0x450], eax
cmp eax, dword [ebp - 0x454]
jl 0x4360f7
jmp 0x4361fe
mov edx, dword [esi]
test edi, edi
je 0x436202
cmp dword [edi], 1
je 0x4361ea
mov dword [0x4f99b0], 0x80000
jmp 0x4361fe
mov eax, dword [ebp - 0x450]
mov ecx, dword [edi + 4]
push eax
call fcn.00441e70
mov dword [0x4f99b0], eax
test edi, edi
jne 0x436211
mov dword [0x4f99b0], 0x10000
jmp 0x4362e3
cmp dword [edi], 1
je 0x436225
mov dword [0x4f99b0], 0x80000
jmp 0x4362e3
mov ebx, dword [edi + 4]
cmp dword [ebx + 4], 0xffffffff
je 0x436235
mov edi, dword [ebx]
call fcn.0046c080
mov edi, dword [ebx]
mov dword [ebx + 4], 0xffffffff
test edi, edi
je 0x436281
cmp dword [edi + 0x7c], 0
je 0x43624d
call fcn.0046c080
mov eax, dword [edi]
mov dword [ebp - 0x454], eax
test eax, eax
je 0x436278
cmp byte [eax + 0x10], 0
je 0x43626f
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x454]
push eax
call fcn.0049c71f
add esp, 4
push edi
call fcn.0049c78c
add esp, 4
mov dword [ebx], 0
mov eax, dword [ebx + 0x23c]
mov dword [0x4f99b0], 0
test eax, eax
je 0x4362a4
push eax
call fcn.0049ca2e
add esp, 4
mov eax, dword [ebx + 0x240]
mov dword [ebx + 0x23c], 0
test eax, eax
je 0x4362c1
push eax
call fcn.0049ca2e
add esp, 4
push ebx
mov dword [ebx + 0x240], 0
call fcn.0049c71f
mov edx, dword [ebp - 0x458]
add esp, 4
push edx
call fcn.0049c71f
add esp, 4
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret