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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab208
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100d65e8]
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
xor ebx, ebx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb0], ebx
call fcn.1001f7b0
mov dword [ebp - 4], 1
push 0xb
xor eax, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push str.DisplayIcon
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
call fcn.1000f9f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xb4], SysStringLen
call fcn.1001d620
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100267f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
call fcn.10006050
push ecx
lea eax, [ebp - 0x58]
push eax
push esi
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1002be60
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c], 8
jb 0x10023249
push dword [ebp - 0x40]
call fcn.1007d9ed
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], 7
cmp dword [ebp - 0x5c], 8
jb 0x10023272
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x44], 8
jb 0x1002329b
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x18], eax
ja 0x1002362f
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 0x100232f6
mov ecx, 9
cmp cx, ax
je 0x100232f6
lea ecx, [ebp - 0x70]
call fcn.1001f7b0
mov dword [ebp - 4], 0xa
mov ebx, 2
jmp 0x10023307
lea ecx, [ebp - 0x40]
call fcn.1001fb90
mov byte [ebp - 4], 9
mov ebx, 1
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb0], ebx
cmp ecx, eax
je 0x10023321
push 0xffffffffffffffff
push 0
push eax
call fcn.1000f660
mov dword [ebp - 4], 9
test bl, 2
je 0x1002335b
and ebx, 0xfffffffd
mov dword [ebp - 0xb0], ebx
cmp dword [ebp - 0x5c], 8
jb 0x10023347
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 8
test bl, 1
je 0x10023395
and ebx, 0xfffffffe
mov dword [ebp - 0xb0], ebx
cmp dword [ebp - 0x2c], 8
jb 0x10023381
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push 0xb
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push str.DisplayIcon
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.1000f9f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xb4], reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001d620
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100267f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.10006050
push ecx
lea eax, [ebp - 0x58]
push eax
push esi
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1002be60
mov esi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10023453
cmp dword [ebp - 0x14], 8
jb 0x10023436
push dword [ebp - 0x28]
call fcn.1007d9ed
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.1000fcf0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x5c], 8
jb 0x10023468
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2c], 8
jb 0x10023491
push dword [ebp - 0x40]
call fcn.1007d9ed
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 - 0x74], 8
jb 0x100234bd
push dword [ebp - 0x88]
call fcn.1007d9ed
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], 8
cmp dword [ebp - 0x44], 8
jb 0x100234e9
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x18], eax
ja 0x10023588
lea eax, [ebp - 0x88]
push eax
call fcn.10006050
mov ecx, eax
call fcn.1002b010
mov esi, eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10023554
cmp dword [ebp - 0x14], 8
jb 0x10023537
push dword [ebp - 0x28]
call fcn.1007d9ed
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.1000fcf0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x74], 8
jb 0x1002356c
push dword [ebp - 0x88]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jmp 0x10023717
lea ecx, [ebp - 0x40]
call fcn.10020990
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x70]
push 0x100bdb2c
push eax
call fcn.100268b0
add esp, 0xc
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.10019820
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100235f7
cmp dword [ebp - 0x14], 8
jb 0x100235da
push dword [ebp - 0x28]
call fcn.1007d9ed
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.1000fcf0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x74], 8
jb 0x1002360f
push dword [ebp - 0x88]
call fcn.1007d9ed
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], 0x10
jmp 0x100236d1
lea ecx, [ebp - 0x40]
call fcn.10020990
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x70]
push 0x100bdb2c
push eax
call fcn.100268b0
add esp, 0xc
mov byte [ebp - 4], 0x14
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.10019820
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1002369e
cmp dword [ebp - 0x14], 8
jb 0x10023681
push dword [ebp - 0x28]
call fcn.1007d9ed
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.1000fcf0
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x74], 8
jb 0x100236b6
push dword [ebp - 0x88]
call fcn.1007d9ed
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], 0x13
cmp dword [ebp - 0x5c], 8
jb 0x100236e2
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c], 8
jb 0x10023707
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x88]
call fcn.100202a0
mov byte [ebp - 4], 0x16
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.100067b0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x74], 8
jb 0x1002374b
push dword [ebp - 0x88]
call fcn.1007d9ed
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
je 0x100237c0
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 0x100237c0
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
call fcn.1000f660
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x17
or ebx, 4
jmp 0x100237fd
xor eax, eax
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0x100bd6c4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.1000f9f0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0x18
or ebx, 8
mov dword [ebp - 0xb0], ebx
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.1000fcf0
or ebx, 0x10
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 4], 0x17
test bl, 8
je 0x10023861
and ebx, 0xfffffff7
mov dword [ebp - 0xb0], ebx
cmp dword [ebp - 0x44], 8
jb 0x1002384d
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 8
test bl, 4
je 0x1002389b
and ebx, 0xfffffffb
mov dword [ebp - 0xb0], ebx
cmp dword [ebp - 0x2c], 8
jb 0x10023887
push dword [ebp - 0x40]
call fcn.1007d9ed
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], 1
cmp dword [ebp - 0x14], 8
jb 0x100238b0
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x98], 8
jb 0x100238de
push dword [ebp - 0xac]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], 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.1007e654
mov esp, ebp
pop ebp
ret