Function at 0x433880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0ef9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x142d8
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14294], eax
mov ebx, ecx
mov dword [ebp - 0x14290], ebx
mov dword [ebp - 0x14298], 0xd
mov byte [ebp - 0x14289], 0
xor eax, eax
mov dword [ebp - 0x1429c], eax
mov dword [ebp - 4], eax
cmp ebx, eax
jne 0x4338f1
mov eax, 0x57
jmp 0x433d5d
lea edi, [ebx + 4]
mov dword [ebp - 0x142a0], edi
push edi
push str.__s__Search_component___
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
lea esi, [ebx + 0x404]
mov eax, esi
lea edx, [eax + 2]
jmp 0x433920
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433920
sub eax, edx
sar eax, 1
jne 0x43394e
push edi
push str.__s__Search_component_fail__Component_Directory_was_empty____
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov eax, 0xd
jmp 0x433d5d
push 0x800
push 0
lea ecx, [ebp - 0xa18]
push ecx
call fcn.004ab450
add esp, 0xc
push 0
push 0x400
push 0x527d38
lea edi, [ebp - 0xa18]
mov edx, esi
call fcn.00458ee0
test eax, eax
je 0x433997
push 0x3ff
push esi
push 0x400
mov edx, edi
push edx
call fcn.004a9be0
add esp, 0x10
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4339d2
lea ecx, [ebp - 0xa18]
push ecx
mov edx, dword [ebp - 0x142a0]
push edx
push str.__s__Search_component_fail__Component_Directory_Not_found____s__
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
mov eax, 0xd
jmp 0x433d5d
cmp byte [ebp + 0xc], 0
jne 0x433b06
lea eax, [ebp - 0x142c8]
push eax
call fcn.004610e0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x1238]
call fcn.00441040
push 0xff
mov edi, dword [ebp - 0x14294]
lea ecx, [edi + 0x40c]
push ecx
push 0x100
mov edx, esi
push edx
call fcn.004a9be0
push 0xff
lea eax, [edi + 0x60c]
push eax
push 0x100
lea ecx, [ebp - 0x1038]
push ecx
call fcn.004a9be0
add esp, 0x20
lea esi, [ebp - 0x142e4]
call fcn.0045b660
mov byte [ebp - 4], 2
mov dl, byte [eax + 0x18]
mov byte [ebp - 0x14289], dl
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0045b750
xor eax, eax
cmp byte [ebp - 0x14289], al
setne al
add eax, 1
mov dword [ebp - 0xe34], eax
mov dword [ebp - 0xe30], ebx
push 0
mov ecx, dword [edi + 8]
push ecx
lea edx, [ebp - 0xa18]
push edx
lea edx, [ebp - 0x1238]
lea ecx, [ebp - 0x142c8]
call fcn.004612a0
mov byte [ebp - 0x14289], al
mov ecx, 0x527b30
test al, al
je 0x433ab2
push str.target_was_found__
call fcn.00449000
mov esi, dword [ebp - 0xe34]
jmp 0x433ac2
push str.target_was_not_found__
call fcn.00449000
mov esi, dword [ebp - 0x1429c]
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x142c8]
call fcn.00461160
cmp byte [ebp - 0x14289], 0
je 0x433d50
push str.Printer
lea eax, [ebx + 0x204]
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x433d37
cmp esi, 3
je 0x433d37
lea ecx, [ebp - 0x142c8]
push ecx
call fcn.004610e0
mov byte [ebp - 4], 3
lea esi, [ebp - 0xe28]
call fcn.00441040
lea edx, [ebp - 0x14288]
push edx
call fcn.0040ddf0
mov byte [ebp - 4], 4
push 0x200
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004ab450
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
mov esi, dword [ebp - 0x14294]
mov ecx, esi
call fcn.00437e60
push 0xff
lea edx, [ebx + 0x204]
push edx
push 0x100
lea eax, [ebp - 0x14084]
push eax
call fcn.004a9be0
push 0xff
lea ecx, [esi + 0x40c]
push ecx
push 0x100
lea edx, [ebp - 0xe28]
push edx
call fcn.004a9be0
push 0xff
add esi, 0x60c
push esi
push 0x100
lea eax, [ebp - 0xc28]
push eax
call fcn.004a9be0
mov ecx, dword [ebx + 0x10618]
mov dword [ebp - 0x3c70], ecx
push 0xff
add ebx, 0xb418
push ebx
push 0x100
lea edx, [ebp - 0x8e70]
push edx
call fcn.004a9be0
add esp, 0x40
lea esi, [ebp - 0x142e4]
call fcn.0045b660
mov byte [ebp - 4], 5
mov bl, byte [eax + 0x18]
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.0045b750
neg bl
sbb ebx, ebx
add ebx, 2
mov dword [ebp - 0xa24], ebx
lea eax, [ebp - 0x14288]
mov dword [ebp - 0xa20], eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x14294]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0xa18]
push ecx
lea edx, [ebp - 0xe28]
lea ecx, [ebp - 0x142c8]
call fcn.004612a0
mov ecx, 0x527b30
test al, al
je 0x433d0b
lea edx, [ebp - 0x8c70]
push edx
push str.other_platform_inf_was_found_____s_
call fcn.00449000
add esp, 8
mov eax, dword [ebp - 0xa24]
sub eax, 1
je 0x433ce4
sub eax, 1
je 0x433cbc
sub eax, 1
jne 0x433d18
push 0x3ff
lea eax, [ebp - 0x8c70]
push eax
push 0x400
mov esi, dword [ebp - 0x14290]
lea ecx, [esi + 0xbe18]
push ecx
call fcn.004a9be0
push 0x3ff
lea edx, [ebp - 0x8c70]
push edx
push 0x400
add esi, 0xc618
push esi
call fcn.004a9be0
add esp, 0x20
jmp 0x433d18
push 0x3ff
lea eax, [ebp - 0x8c70]
push eax
push 0x400
mov ecx, dword [ebp - 0x14290]
add ecx, 0xc618
push ecx
call fcn.004a9be0
add esp, 0x10
jmp 0x433d18
push 0x3ff
lea edx, [ebp - 0x8c70]
push edx
push 0x400
mov eax, dword [ebp - 0x14290]
add eax, 0xbe18
push eax
call fcn.004a9be0
add esp, 0x10
jmp 0x433d18
push str.other_platform_inf_was_not_found__
call fcn.00449000
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14288]
push ecx
call fcn.0040dd80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x142c8]
call fcn.00461160
cmp byte [ebp - 0x14289], 0
jne 0x433d46
cmp byte [ebp + 0xc], 0
je 0x433d50
mov dword [ebp - 0x14298], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14298]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a998e
mov esp, ebp
pop ebp
ret 8