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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53940f
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x58bc40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], ebx
call fcn.00418988
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4144ba
push 0x80004005
call fcn.00408450
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [esi + 0xc0]
mov dword [ebp - 4], ebx
call fcn.0041ff56
push 0x5677ec
lea ecx, [ebp - 0x220]
call fcn.004075e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4145c7
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005168b0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x228]
call fcn.004075e0
lea ebx, [ebp - 0x228]
mov byte [ebp - 4], 2
call fcn.0040fb20
lea eax, [ebp - 0x224]
push eax
mov ecx, ebx
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.0040fc20
add esp, 0xc
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.00407da0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4145a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4145c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x224]
call fcn.004148f0
test eax, eax
jne 0x414603
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call fcn.00407f80
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x414892
call fcn.00418988
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41461d
push 0x80004005
call fcn.00408450
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41469a
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41468a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41468a
push eax
call fcn.00407f10
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x414679
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x220], edi
mov edi, dword [ebp - 0x234]
jmp 0x41469a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x220]
call fcn.00408080
push 1
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x224]
call fcn.004149c0
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ebx, 2
mov dword [ebp - 0x230], ebx
mov ecx, 0x568504
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4146ea
test dx, dx
je 0x4146e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4146ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x4146c4
xor eax, eax
jmp 0x4146ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x41472a
push 1
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x224]
call fcn.004149c0
push 0x569618
push eax
mov ebx, 6
call fcn.00413080
add esp, 8
mov byte [ebp - 0x219], 0
test al, al
je 0x414731
mov byte [ebp - 0x219], 1
test bl, 4
je 0x414761
mov eax, dword [ebp - 0x234]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0x230], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414761
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 4
test bl, 2
je 0x41478f
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41478f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x219], 0
lea ecx, [ebp - 0x220]
lea edx, [ebp - 0x22c]
je 0x4147eb
push 0x56961c
push ecx
push edx
call fcn.0040fce0
add esp, 0xc
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.00407da0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41483b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41483b
push str.core
push ecx
push edx
call fcn.0040fce0
add esp, 0xc
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00407da0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414830
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [ebp - 0x220]
call fcn.0040fb20
mov esi, dword [ebp - 0x228]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call fcn.00407f80
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41489e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051447c
mov esp, ebp
pop ebp
ret