Function at 0x4437b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
test eax, eax
jne 0x443c0e
and dword [ebx + 0x10], eax
push esi
push edi
push 0x61b628
push eax
lea eax, [ebp - 0x38c]
mov dword [ebx + 4], 1
push eax
call fcn.00413a13
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00413eaa
mov ecx, dword [ebp - 0x38c]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov edi, dword [ebp - 0x394]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443b0d
lea ecx, [ebp - 0x384]
call fcn.00404190
lea eax, [ebp - 0x384]
mov ecx, ebx
push eax
push edi
call fcn.00443f9a
mov esi, dword [ebp - 0x384]
test eax, eax
je 0x443b05
cmp dword [esi - 0xc], 3
jle 0x443b05
lea ecx, [ebp - 0x74]
call fcn.00408701
push 1
push 0
push esi
lea ecx, [ebp - 0x74]
call fcn.0040a53f
cmp byte [ebp - 0x34], 0
lea ecx, [ebp - 0x74]
jne 0x443b00
call fcn.00409196
test eax, eax
je 0x443afd
push str.dbshortcut
mov ecx, eax
call fcn.00409161
mov dword [ebp - 0x384], eax
test eax, eax
je 0x443afd
or dword [ebp - 0x388], 0xffffffff
lea ecx, [ebp - 0x388]
or dword [ebp - 0x390], 0xffffffff
push ecx
push str.enable
mov ecx, eax
call fcn.00408bd3
mov ecx, dword [ebp - 0x384]
lea eax, [ebp - 0x390]
push eax
push str.effectiveid
call fcn.00408bd3
mov ecx, dword [ebp - 0x384]
push 0x61b660
call fcn.00408bae
cmp dword [ebp - 0x388], 0xffffffff
mov dword [ebp - 0x38c], eax
je 0x443afd
cmp dword [ebp - 0x390], 0xffffffff
je 0x443afd
test eax, eax
je 0x443afd
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
test eax, eax
je 0x443afd
mov eax, dword [ebp - 0x388]
mov ecx, ebx
mov dword [ebx + 8], eax
call fcn.004442a0
push dword [ebp - 0x38c]
mov dword [ebx + 0xc], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push dword [ebp - 0x38c]
lea ecx, [ebx + 0x18]
call fcn.00407a70
mov eax, dword [ebp - 0x390]
mov ecx, dword [ebp - 0x384]
push str.item
mov dword [ebx + 0x14], eax
call fcn.00409161
test eax, eax
je 0x443afd
mov edi, eax
or dword [ebp - 0x384], 0xffffffff
lea eax, [ebp - 0x384]
push eax
push 0x61777c
mov ecx, edi
call fcn.00408bd3
push 0x61b668
mov ecx, edi
call fcn.00408bae
push 0x61b66c
mov ecx, edi
mov dword [ebp - 0x390], eax
call fcn.00408bae
push 0x617660
mov ecx, edi
mov dword [ebp - 0x38c], eax
call fcn.00408bae
cmp dword [ebp - 0x384], 0xffffffff
je 0x443ad7
cmp dword [ebp - 0x390], 0
je 0x443ad7
cmp dword [ebp - 0x38c], 0
je 0x443ad7
test eax, eax
je 0x443ad7
lea ecx, [ebp - 0x37c]
push 0xfde9
mov dword [ebp - 0x380], ecx
lea ecx, [ebp - 0x380]
push eax
call fcn.004042b0
push 0xfde9
push dword [ebp - 0x38c]
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x27c], eax
call fcn.004042b0
push 0xfde9
push dword [ebp - 0x390]
lea eax, [ebp - 0x174]
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x178], eax
call fcn.004042b0
push dword [ebp - 0x380]
lea ecx, [ebp - 0x3a8]
push dword [ebp - 0x27c]
push dword [ebp - 0x178]
push dword [ebp - 0x384]
call fcn.004430f1
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x178], eax
je 0x443a87
push dword [ebp - 0x178]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x27c], eax
je 0x443aa2
push dword [ebp - 0x27c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x37c]
cmp dword [ebp - 0x380], eax
je 0x443abd
push dword [ebp - 0x380]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebx + 0x1c]
call fcn.0044300b
lea ecx, [ebp - 0x3a8]
call fcn.004431b7
push str.item
mov ecx, edi
call fcn.004092b8
mov edi, eax
test edi, edi
jne 0x44396f
lea ecx, [ebp - 0x74]
call fcn.004088a2
mov edi, dword [ebp - 0x394]
jmp 0x443b05
lea ecx, [ebp - 0x74]
call fcn.004088a2
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
sar eax, 4
test eax, eax
je 0x443c01
cmp dword [ebx + 8], 0
je 0x443c01
lea ecx, [ebp - 0x394]
call fcn.00404190
push dword [ebx + 0xc]
lea eax, [ebp - 0x394]
push str.s_de
push eax
call fcn.00407fa0
mov esi, dword [ebp - 0x394]
lea ecx, [ebx + 0x18]
add esp, 0xc
push 0
push esi
call fcn.00436b94
cmp eax, 0xffffffff
je 0x443bf9
lea eax, [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [eax + 4]
sub edx, dword [eax]
sar edx, 4
mov dword [ebp - 0x398], edx
mov dword [ebp - 0x388], ecx
test edx, edx
jle 0x443bf9
push ecx
mov ecx, eax
call fcn.0044436b
mov eax, dword [eax]
cmp eax, dword [ebx + 0x14]
je 0x443baa
mov ecx, dword [ebp - 0x388]
lea eax, [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x388], ecx
cmp ecx, dword [ebp - 0x398]
jl 0x443b81
jmp 0x443bf9
push dword [ebp - 0x388]
lea ecx, [ebx + 0x1c]
call fcn.0044436b
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], 0
je 0x443bf4
push dword [ebp - 0x388]
lea ecx, [ebx + 0x1c]
call fcn.0044436b
mov eax, dword [eax + 0xc]
cmp dword [eax - 0xc], 0
je 0x443bf4
push dword [ebp - 0x388]
lea ecx, [ebx + 0x1c]
call fcn.0044436b
mov eax, dword [eax + 8]
cmp dword [eax - 0xc], 0
je 0x443bf4
xor eax, eax
inc eax
jmp 0x443bf6
xor eax, eax
mov dword [ebx + 0x10], eax
lea ecx, [esi - 0x10]
call fcn.004023e0
lea ecx, [edi - 0x10]
call fcn.004023e0
mov eax, dword [ebx + 4]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret