Function at 0x43f350
Capabilities:
Check if file exists
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4af3
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc8], 0
call fcn.0040d4e0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
call fcn.0041e610
mov ecx, eax
call fcn.0044e4e0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jbe 0x43f407
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004034a0
cmp dword [ebp - 0x18], 0
je 0x43f407
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
cmp eax, 1
sete al
test al, al
je 0x43f407
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.0040c2a0
mov dword [ebp - 0xc8], 1
jmp 0x43fd0e
lea ecx, [ebp - 0xc4]
call fcn.00430c60
mov byte [ebp - 4], 3
push 0xb
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
push 0x4b401c
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
call fcn.0040c0d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xcc], VariantCopy
call fcn.00436710
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x58]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
call fcn.0041e610
push 0
lea eax, [ebp - 0xac]
push eax
push esi
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0044f320
mov esi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43f4e8
cmp dword [ebp - 0x14], 8
jb 0x43f4cb
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c240
mov byte [ebp - 4], 6
cmp dword [ebp - 0x74], 8
jb 0x43f500
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x44], 8
jb 0x43f52c
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 8
jb 0x43f555
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x98], 8
jb 0x43f584
push dword [ebp - 0xac]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
cmp dword [ebp - 0x18], eax
jbe 0x43f80a
lea ecx, [ebp - 0x88]
call fcn.00433c60
mov byte [ebp - 4], 8
push eax
mov edx, 0x4b3f78
lea ecx, [ebp - 0x58]
call fcn.00422440
add esp, 4
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0042cd90
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43f618
cmp dword [ebp - 0x14], 8
jb 0x43f5fb
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c240
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2c], 8
jb 0x43f62d
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x44], 8
jb 0x43f656
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 8
jb 0x43f682
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x18], eax
jbe 0x43f6e5
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004034a0
cmp dword [ebp - 0x18], 0
je 0x43f6e5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
cmp eax, 1
sete al
test al, al
je 0x43f6e5
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.0040c2a0
mov dword [ebp - 0xc8], 1
jmp 0x43fcda
lea ecx, [ebp - 0x88]
call fcn.00434050
mov byte [ebp - 4], 0xb
push eax
mov edx, 0x4b3f78
lea ecx, [ebp - 0x58]
call fcn.00422440
add esp, 4
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0042cd90
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43f753
cmp dword [ebp - 0x14], 8
jb 0x43f736
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c240
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2c], 8
jb 0x43f768
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x44], 8
jb 0x43f791
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 8
jb 0x43f7bd
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x18], eax
jbe 0x43f80a
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004034a0
cmp dword [ebp - 0x18], 0
je 0x43f80a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
cmp eax, 1
sete al
test al, al
jne 0x43f6cb
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x94]
mov ecx, 6
cmp cx, ax
je 0x43f848
mov ecx, 9
cmp cx, ax
je 0x43f848
lea ecx, [ebp - 0x40]
call fcn.00430c60
mov dword [ebp - 4], 0xf
mov ebx, 4
jmp 0x43f859
lea ecx, [ebp - 0x58]
call fcn.00430f80
mov byte [ebp - 4], 0xe
mov ebx, 2
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc8], ebx
cmp ecx, eax
je 0x43f873
push 0xffffffffffffffff
push 0
push eax
call fcn.0040bd60
mov dword [ebp - 4], 0xe
test bl, 4
je 0x43f8ad
and ebx, 0xfffffffb
mov dword [ebp - 0xc8], ebx
cmp dword [ebp - 0x2c], 8
jb 0x43f899
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 3
test bl, 2
je 0x43f8e7
and ebx, 0xfffffffd
mov dword [ebp - 0xc8], ebx
cmp dword [ebp - 0x44], 8
jb 0x43f8d3
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
push 0xb
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
push 0x4b401c
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
call fcn.0040c0d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xcc], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00436710
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x58]
call fcn.00421140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x12
call fcn.0041e610
push 0
lea eax, [ebp - 0xac]
push eax
push esi
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044f320
mov esi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43f9b9
cmp dword [ebp - 0x14], 8
jb 0x43f99c
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c240
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x2c], 8
jb 0x43f9ce
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x44], 8
jb 0x43f9f7
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x74], 8
jb 0x43fa23
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x98], 8
jb 0x43fa55
push dword [ebp - 0xac]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
cmp dword [ebp - 0x18], eax
jbe 0x43fcc5
lea ecx, [ebp - 0x88]
call fcn.00433c60
mov byte [ebp - 4], 0x14
push eax
mov edx, 0x4b3f78
lea ecx, [ebp - 0x58]
call fcn.00422440
add esp, 4
mov byte [ebp - 4], 0x15
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0042cd90
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43fae9
cmp dword [ebp - 0x14], 8
jb 0x43facc
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c240
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x2c], 8
jb 0x43fafe
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x44], 8
jb 0x43fb27
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 8
jb 0x43fb53
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x18], eax
jbe 0x43fbe0
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004034a0
cmp dword [ebp - 0x18], 0
je 0x43fbe0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x43fbe0
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.0040c2a0
or ebx, 1
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.0040c340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040c340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.0040c340
jmp 0x43fd57
lea ecx, [ebp - 0x88]
call fcn.00434050
mov byte [ebp - 4], 0x17
push eax
mov edx, 0x4b3f78
lea ecx, [ebp - 0x58]
call fcn.00422440
add esp, 4
mov byte [ebp - 4], 0x18
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0042cd90
add esp, 4
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x28]
call fcn.00402a20
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x2c], 8
jb 0x43fc35
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x44], 8
jb 0x43fc5e
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 8
jb 0x43fc8a
push dword [ebp - 0x88]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x18], eax
jbe 0x43fcc5
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004034a0
lea ecx, [ebp - 0x28]
call fcn.00445200
test al, al
jne 0x43fba0
push 0x4b33dc
mov ecx, edi
call fcn.0040c1d0
or ebx, 1
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0xb0], 8
jb 0x43fcf5
push dword [ebp - 0xc4]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x43fd23
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x5c], 8
jb 0x43fd47
push dword [ebp - 0x70]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret