Function at 0x42b930
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x844
mov eax, dword [0x488e40]
xor eax, esp
mov dword [esp + 0x840], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [eax + 0x20]
push esi
mov esi, dword [ecx + 0x88]
test esi, esi
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
je 0x42bc9f
cmp byte [esi], 0
je 0x42bc9f
cmp byte [0x48d50d], 0
je 0x42ba2e
cmp dword [0x48d520], 5
jb 0x42ba2e
cmp dword [ebx + 0x50], eax
jne 0x42ba2e
mov eax, ebx
call fcn.00427600
test eax, eax
je 0x42ba2e
push esi
push str._s.local
mov esi, 0x810
lea edi, [esp + 0x40]
call fcn.00416ab0
add esp, 8
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42ba2e
test al, 0x10
je 0x42ba02
cmp byte [0x48d50d], 0
je 0x42ba2e
mov eax, dword [0x48d520]
cmp eax, 5
jne 0x42b9ed
cmp dword [0x48d524], 1
jae 0x42b9ef
jmp 0x42ba2e
jbe 0x42ba2e
lea ebx, [esp + 0x38]
call fcn.00416a00
mov ecx, dword [esp + 0xc]
mov byte [ecx + 0x64], 1
jmp 0x42ba29
lea eax, [esp + 0x38]
push 0x5c
push eax
call fcn.00455c50
add esp, 8
test eax, eax
je 0x42ba2e
lea ebx, [esp + 0x38]
mov byte [eax], 0
call fcn.00416a00
mov ecx, dword [esp + 0xc]
mov byte [ecx + 0x64], 0
mov ebx, ecx
mov dword [ecx + 0x60], eax
cmp dword [0x48d6b0], 0
je 0x42bc9f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x10]
or edx, dword [ecx + 8]
test edx, 0x40000
jne 0x42bc9f
mov eax, ebx
mov dword [esp + 0x10], 0
call fcn.00427600
test eax, eax
je 0x42ba80
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x42ba80
mov edi, dword [eax + 0x88]
test edi, edi
je 0x42ba80
cmp byte [edi], 0
jne 0x42ba82
xor edi, edi
xor bl, bl
test edi, edi
mov byte [esp + 0x38], bl
je 0x42bad4
lea eax, [esp + 0x38]
mov esi, edi
mov ecx, eax
mov edx, 0x80f
sub esi, ecx
jmp 0x42baa0
mov cl, byte [esi + eax]
test cl, cl
je 0x42bab3
mov byte [eax], cl
sub edx, 1
add eax, 1
test edx, edx
jg 0x42baa0
lea edx, [esp + 0x38]
push 0x5c
push edx
mov byte [eax], 0
call fcn.00455c50
add esp, 8
test eax, eax
jne 0x42bacd
lea eax, [esp + 0x38]
mov byte [eax], 0
mov bl, byte [esp + 0x38]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x50], esi
jne 0x42bb9c
call fcn.00427600
test eax, eax
je 0x42bb9c
xor eax, eax
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x20
neg bl
mov dword [esp + 0x18], 0x20
push 0
sbb ebx, ebx
and ebx, 4
or eax, ebx
or eax, 8
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 0x88]
lea eax, [esp + 0x3c]
mov ebx, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0x18]
push ecx
call dword [0x48d6b0]
mov edx, dword [esi + 0x20]
mov dword [edx + 0x74], eax
mov eax, dword [esi + 0x20]
cmp dword [eax + 0x74], 0xffffffff
je 0x42bb80
mov ecx, eax
mov dword [ecx + 0x78], ebx
jmp 0x42bb98
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [eax - 0x36b0]
cmp edx, 0x3e7
ja 0x42bb98
mov dword [esp + 0x10], eax
mov bl, byte [esp + 0x38]
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 0x74], 0xffffffff
jne 0x42bc53
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x20
neg bl
mov dword [esp + 0x18], 0x20
lea edx, [esp + 0x38]
push 0
sbb ebx, ebx
and ebx, 4
or eax, ebx
or eax, 8
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0x88]
mov ebx, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
push eax
call dword [0x48d6b0]
mov ecx, dword [esi + 0x20]
mov dword [ecx + 0x74], eax
mov edx, dword [esi + 0x20]
cmp dword [edx + 0x74], 0xffffffff
je 0x42bc34
mov eax, edx
mov dword [eax + 0x78], ebx
jmp 0x42bc53
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x10], 0
jne 0x42bc5a
lea ecx, [eax - 0x36b0]
cmp ecx, 0x3e7
ja 0x42bc9f
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x42bc9f
mov edx, dword [esp + 0x10]
push edx
xor ecx, ecx
call fcn.00417350
mov edi, dword [esp + 0x10]
add esp, 4
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x88]
push ecx
push str.Error:_The_Side_by_Side_configuration_information_for___s__contains_errors.__s_n
push 0xa
xor ecx, ecx
mov esi, edi
call fcn.0042ee20
add esp, 0x10
lea esi, [esp + 0x14]
call fcn.00416a90
or dword [edi + 0x38], 0x2000
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00454016
mov esp, ebp
pop ebp
ret 4