Function at 0x4437d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x5402b0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x30], esi
call fcn.00407c00
cmp eax, 5
jne 0x443b75
lea ecx, [esp + 0x88]
xor eax, eax
mov edi, 7
push ecx
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], esi
mov word [esp + 0x90], ax
call fcn.00408060
add esp, 4
lea ecx, [esp + 0x6c]
call fcn.00407f70
lea ebx, [esi + 1]
push ebx
push esi
lea eax, [esp + 0x90]
xor edx, edx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.004018f0
mov eax, dword [esp + 0x28]
push 0x521df8
mov edi, ebx
lea ecx, [esp + 0x18]
call fcn.0040efa0
test eax, eax
jne 0x4438b5
push edi
push esi
lea edx, [esp + 0x74]
xor ecx, ecx
push edx
lea eax, [esp + 0x5c]
lea ebx, [esi + 3]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], esi
mov word [esp + 0x60], cx
call fcn.004018f0
mov eax, dword [esp + 0x64]
push 0x521df8
lea ecx, [esp + 0x54]
call fcn.0040efa0
mov byte [esp + 0x13], 1
test eax, eax
je 0x4438ba
mov byte [esp + 0x13], 0
test bl, 2
je 0x4438e9
and ebx, 0xfffffffd
cmp dword [esp + 0x68], 8
jb 0x4438d6
mov eax, dword [esp + 0x54]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], esi
mov word [esp + 0x54], cx
test bl, 1
je 0x443905
and ebx, 0xfffffffe
cmp dword [esp + 0x2c], 8
jb 0x443905
mov edx, dword [esp + 0x18]
push edx
call fcn.004c097a
add esp, 4
cmp byte [esp + 0x13], 0
je 0x443b28
lea edi, [esp + 0x14]
call fcn.00407100
mov edi, 0x521dfc
mov ecx, eax
lea esi, [esp + 0x50]
call fcn.0040e390
mov edi, 8
cmp dword [esp + 0x2c], edi
jb 0x443941
mov eax, dword [esp + 0x18]
push eax
call fcn.004c097a
add esp, 4
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x44394f
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443b13
mov eax, str.SOFTWAREClassesCLSID871C5380_42A0_1069_A2EA_08002B30309DInProcServer32
lea ecx, [esp + 0x34]
call fcn.00401520
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x54]
or ebx, 4
call fcn.00443b90
test eax, eax
jne 0x4439a8
mov eax, str.SOFTWAREClassesTypeLibEAB22AC0_30C1_11CF_A7EB_0000C05BAE0B1.10win32
lea ecx, [esp + 0x14]
call fcn.00401520
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x54]
or ebx, edi
call fcn.00443b90
mov byte [esp + 0x13], 0
test eax, eax
je 0x4439ad
mov byte [esp + 0x13], 1
test bl, 8
je 0x4439be
lea esi, [esp + 0x14]
and ebx, 0xfffffff7
call fcn.0040f420
test bl, 4
je 0x4439cf
lea esi, [esp + 0x34]
and ebx, 0xfffffffb
call fcn.0040f420
cmp byte [esp + 0x13], 0
je 0x443a8c
lea eax, [esp + 0x50]
call fcn.00449e90
mov eax, str.SOFTWAREClassesCLSID871C5380_42A0_1069_A2EA_08002B30309DInProcServer32
lea ecx, [esp + 0x14]
call fcn.00401520
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
or ebx, 0x10
call fcn.00443b90
test eax, eax
jne 0x443a2e
mov eax, str.SOFTWAREClassesTypeLibEAB22AC0_30C1_11CF_A7EB_0000C05BAE0B1.10win32
lea ecx, [esp + 0x34]
call fcn.00401520
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x54]
or ebx, 0x20
call fcn.00443b90
mov byte [esp + 0x13], 0
test eax, eax
je 0x443a33
mov byte [esp + 0x13], 1
test bl, 0x20
je 0x443a44
lea esi, [esp + 0x34]
and ebx, 0xffffffdf
call fcn.0040f420
test bl, 0x10
je 0x443a52
lea esi, [esp + 0x14]
call fcn.0040f420
cmp byte [esp + 0x13], 0
je 0x443a8c
push str.SOFTWAREClassesCLSID871C5380_42A0_1069_A2EA_08002B30309DInProcServer32
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [esp + 0x58]
mov edx, 0x51c620
call fcn.00408810
push str.SOFTWAREClassesTypeLibEAB22AC0_30C1_11CF_A7EB_0000C05BAE0B1.10win32
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [esp + 0x60]
mov edx, 0x51c620
call fcn.00408810
add esp, 0x10
cmp dword [esp + 0x68], edi
jb 0x443a9f
mov edx, dword [esp + 0x54]
push edx
call fcn.004c097a
add esp, 4
xor esi, esi
xor eax, eax
mov ebx, 7
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], ax
cmp dword [esp + 0x84], edi
jb 0x443acb
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov word [esp + 0x70], dx
cmp dword [esp + 0xa0], edi
jb 0x443af9
mov eax, dword [esp + 0x8c]
push eax
call fcn.004c097a
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x68], edi
jb 0x443b26
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004c097a
add esp, 4
xor esi, esi
mov edi, 8
cmp dword [esp + 0x84], edi
jb 0x443b43
mov edx, dword [esp + 0x70]
push edx
call fcn.004c097a
add esp, 4
xor eax, eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], esi
mov word [esp + 0x70], ax
cmp dword [esp + 0xa0], edi
jb 0x443b75
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.004c097a
add esp, 4
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004c0985
mov esp, ebp
pop ebp
ret