Function at 0x1008e49c
Capabilities:
Create directory

Disassembly:
push 0x2c0
mov eax, 0x10163f39
call fcn.1012b6ae
mov dword [ebp - 0x2cc], ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2c0], edi
cmp dword [ecx + 0x30], ebx
jne 0x1008e4c9
xor eax, eax
inc eax
jmp 0x1008e9c6
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 4
cmp eax, 2
jb 0x1008e4c1
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x1008e59b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
je 0x1008e59b
mov eax, dword [edi]
lea ecx, [ebp - 0x2bc]
add eax, 0x10
push eax
call fcn.1001ddd9
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2cc]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1008e519
mov eax, 0x101bd7f8
push eax
push ecx
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], esp
mov ecx, esp
push eax
call fcn.10008916
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2ac]
push eax
mov byte [ebp - 4], bl
call fcn.1008d4e3
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2ac]
cmp dword [eax - 0xc], 0
je 0x1008e575
push eax
call fcn.10010313
test eax, eax
je 0x1008e571
push 0x80
push dword [ebp - 0x2ac]
mov ecx, esi
call fcn.100ac9d4
mov esi, ebx
jmp 0x1008e578
xor esi, esi
inc esi
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.100078bc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2bc]
add ecx, 0xfffffff0
jmp 0x1008e9bf
push 0x208
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....360NetBase.dll
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call int.1000fd90
mov ecx, eax
call fcn.1000fddc
xor esi, esi
inc esi
test eax, eax
jne 0x1008e645
call int.1000fd90
mov ecx, eax
call fcn.10010161
push 0x104
lea eax, [ebp - 0x228]
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360NetBase.dll
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call int.1000fd90
mov ecx, eax
call fcn.1000fddc
test eax, eax
je 0x1008e9c4
push 0x104
lea eax, [ebp - 0x228]
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....Update
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [edi]
lea ecx, [ebp - 0x2ac]
call fcn.1001ddd9
mov dword [ebp - 4], 7
push 0x2f
push dword [ebp - 0x2ac]
call fcn.1012e65c
pop ecx
pop ecx
test eax, eax
je 0x1008e9a6
sub eax, dword [ebp - 0x2ac]
sar eax, 1
test eax, eax
jle 0x1008e9a6
inc eax
lea ecx, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.1001f1fd
mov byte [ebp - 4], 8
lea eax, [ebp - 0x228]
push dword [ebp - 0x2bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x2ac]
call fcn.1000ff95
pop ecx
pop ecx
test eax, eax
jle 0x1008e994
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.100088c7
mov byte [ebp - 4], 9
lea eax, [ebp - 0x228]
push 0x1018cfec
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x2b0]
call 0x1000fc62
pop ecx
pop ecx
test eax, eax
je 0x1008e982
push dword [ebp - 0x2b0]
call fcn.1000f894
call fcn.10007945
push eax
lea ecx, [ebp - 0x2c8]
call fcn.10008bfd
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b0]
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10014b9c
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c8]
push eax
call fcn.10010aef
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c4]
lea ecx, [ecx - 0x10]
call fcn.100078bc
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 4
mov dword [ebp - 0x2b8], esi
mov esi, dword [ebp - 0x2c8]
cmp eax, 3
jb 0x1008e853
lea eax, [ecx + 0x20]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.1001ddd9
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2b4]
cmp dword [eax - 0xc], 0
je 0x1008e841
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push 0x80
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1012db70
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.1000f944
push ebx
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.10115f9b
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b4]
call fcn.101311cd
mov edi, dword [ebp - 0x2c0]
add esp, 0x2c
neg eax
sbb eax, eax
not eax
and dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2b4]
lea ecx, [ecx - 0x10]
call fcn.100078bc
cmp dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], ebx
je 0x1008e91d
mov eax, dword [edi]
lea ecx, [ebp - 0x2c4]
add eax, 0x10
push eax
call fcn.1001ddd9
mov byte [ebp - 4], 0x10
mov edi, ebx
mov eax, dword [ebp - 0x2cc]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1008e892
mov eax, 0x101bd7f8
push eax
push ecx
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c0], esp
mov ecx, esp
push eax
call fcn.10008916
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x2b8]
push eax
mov byte [ebp - 4], 0x10
call fcn.1008d4e3
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2b8]
cmp dword [eax - 0xc], 0
je 0x1008e8e8
lea ecx, [ebp - 0x2b4]
push ecx
push esi
push eax
call fcn.1008d6d2
mov ebx, dword [ebp - 0x2b4]
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x2b8]
add ecx, 0xfffffff0
call fcn.100078bc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c4]
lea ecx, [ecx - 0x10]
call fcn.100078bc
xor eax, eax
test edi, edi
setne al
mov dword [ebp - 0x2c0], eax
mov edi, eax
jmp 0x1008e91f
mov edi, ebx
test ebx, ebx
jne 0x1008e929
push esi
call fcn.1000f894
test edi, edi
je 0x1008e973
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
call fcn.100078bc
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.100078bc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2bc]
lea ecx, [ecx - 0x10]
call fcn.100078bc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.100078bc
xor eax, eax
jmp 0x1008e9c6
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
call fcn.100078bc
xor esi, esi
inc esi
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.100078bc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2bc]
lea ecx, [ecx - 0x10]
call fcn.100078bc
call int.1000fd90
mov ecx, eax
call fcn.10010161
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.100078bc
mov eax, esi
call fcn.1012b658
ret 4