Function at 0x41e670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.00416de0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004161a0
lea ecx, [esp + 0xc]
call fcn.004226f0
test eax, eax
je 0x41e8e9
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
call fcn.004162e0
lea ecx, [esp + 0xc]
call fcn.00422700
mov edi, dword [esp + 0x3c]
mov ebx, eax
push edi
push ebx
call fcn.0041e4f0
add esp, 8
test al, al
jne 0x41e8e9
push 0x482790
lea ecx, [esp + 0x10]
mov esi, ebx
call fcn.00416bb0
test al, al
je 0x41e719
lea esi, [ebx + 4]
push 4
push str.UNC_
push esi
call fcn.0045db70
add esp, 0xc
test eax, eax
jne 0x41e719
add esi, 4
jmp 0x41e734
push 2
push 0x47f604
push esi
call fcn.0045db70
add esp, 0xc
test eax, eax
jne 0x41e7bf
add esi, 2
push 0x5c
push esi
call fcn.0045d9b0
add esp, 8
test eax, eax
je 0x41e7bf
inc eax
push 0x5c
push eax
call fcn.0045d9b0
add esp, 8
test eax, eax
jne 0x41e784
push edi
push ebx
call fcn.0041e4f0
add esp, 8
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea esi, [eax + 1]
mov al, byte [eax + 1]
test al, al
jne 0x41e7c4
push edi
push ebx
call fcn.0041e4f0
add esp, 8
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp byte [esi], 0
je 0x41e7cd
cmp byte [esi + 1], 0x3a
jne 0x41e7cd
add esi, 2
cmp byte [esi], 0x5c
jne 0x41e7da
mov al, byte [esi + 1]
inc esi
cmp al, 0x5c
je 0x41e7d2
push 0x5c
push esi
call fcn.0045d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e82d
test edi, edi
je 0x41e808
mov edx, dword [edi]
push str.Cannot_ensure_directory_existence
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [edi]
push ebx
push str.path
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push edi
push ebx
mov byte [esi], 0
call fcn.0041e4f0
add esp, 8
test al, al
je 0x41e8a7
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.0045d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e82d
push edi
push ebx
call fcn.0041e4f0
add esp, 8
test al, al
jne 0x41e8e9
test edi, edi
je 0x41e882
mov edx, dword [edi]
push str.Cannot_ensure_directory_existence
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [edi]
push ebx
push str.path
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
test edi, edi
je 0x41e8c4
mov edx, dword [edi]
push str.Cannot_ensure_directory_existence
mov ecx, edi
call dword [edx + 0x10]
mov eax, dword [edi]
push ebx
push str.path
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret