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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab4a9
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
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 - 0xc4]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc8], ebx
call fcn.1001f7b0
mov dword [ebp - 4], 1
push 0xb
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push str.DisplayIcon
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.1000f9f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xcc], SysStringLen
call fcn.1001d830
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100267f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
call fcn.10006050
push ecx
lea eax, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1002be60
mov byte [ebp - 4], 6
cmp dword [ebp - 0x44], 8
jb 0x100239f9
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 byte [ebp - 4], 7
cmp dword [ebp - 0x5c], 8
jb 0x10023a22
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 - 0x2c], 8
jb 0x10023a4b
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
cmp dword [ebp - 0x18], eax
ja 0x10023e8e
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 0x10023aa6
mov ecx, 9
cmp cx, ax
je 0x10023aa6
lea ecx, [ebp - 0x70]
call fcn.1001f7b0
mov dword [ebp - 4], 0xa
mov ebx, 2
jmp 0x10023ab7
lea ecx, [ebp - 0x40]
call fcn.1001fb90
mov byte [ebp - 4], 9
mov ebx, 1
xor ecx, ecx
push 0xffffffffffffffff
mov dword [ebp - 0xc8], ebx
push ecx
mov word [ebp - 0x58], cx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
call fcn.1000f660
mov dword [ebp - 4], 0xc
test bl, 2
je 0x10023b25
and ebx, 0xfffffffd
mov dword [ebp - 0xc8], ebx
cmp dword [ebp - 0x5c], 8
jb 0x10023b11
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], 0xd
test bl, 1
je 0x10023b5c
and ebx, 0xfffffffe
mov dword [ebp - 0xc8], ebx
cmp dword [ebp - 0x2c], 8
jb 0x10023b48
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 - 0x30], 0
mov dword [ebp - 0x2c], 0
push str.DisplayIcon
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.1000f9f0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xcc], reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001d830
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.100267f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.10006050
push ecx
lea eax, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1002be60
mov esi, eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10023c1a
cmp dword [ebp - 0x14], 8
jb 0x10023bfd
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], 0x10
cmp dword [ebp - 0x5c], 8
jb 0x10023c2f
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], 0xf
cmp dword [ebp - 0x98], 8
jb 0x10023c5e
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 byte [ebp - 4], 0xe
cmp dword [ebp - 0x74], 8
jb 0x10023c93
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], 0xd
cmp dword [ebp - 0x2c], 8
jb 0x10023cbf
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
cmp dword [ebp - 0x18], eax
ja 0x10023d5e
lea eax, [ebp - 0x88]
push eax
call fcn.10006050
mov ecx, eax
call fcn.1002b650
mov esi, eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10023d2a
cmp dword [ebp - 0x14], 8
jb 0x10023d0d
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 - 0x74], 8
jb 0x10023d42
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 0x10023e60
lea ecx, [ebp - 0x70]
call fcn.10020b30
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xac]
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 0x10023dd0
cmp dword [ebp - 0x14], 8
jb 0x10023db3
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 0x10023de8
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 - 0x98], 8
jb 0x10023e1a
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 byte [ebp - 4], 0xd
cmp dword [ebp - 0x5c], 8
jb 0x10023e4c
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 0x10023e75
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
jmp 0x10023f90
lea ecx, [ebp - 0x70]
call fcn.10020b30
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0xac]
push 0x100bdb2c
push eax
call fcn.100268b0
add esp, 0xc
mov byte [ebp - 4], 0x17
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.10019820
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10023f00
cmp dword [ebp - 0x14], 8
jb 0x10023ee3
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], 0x17
cmp dword [ebp - 0x74], 8
jb 0x10023f18
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], 0x16
cmp dword [ebp - 0x98], 8
jb 0x10023f4a
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 byte [ebp - 4], 8
cmp dword [ebp - 0x5c], 8
jb 0x10023f7c
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
lea ecx, [ebp - 0x88]
call fcn.10020580
mov byte [ebp - 4], 0x19
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.100067b0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x74], 8
jb 0x10023fc4
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 0x10024039
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 0x10024039
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], 0x1a
or ebx, 4
jmp 0x10024076
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], 0x1b
or ebx, 8
mov dword [ebp - 0xc8], 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 - 0xc8], ebx
mov dword [ebp - 4], 0x1a
test bl, 8
je 0x100240da
and ebx, 0xfffffff7
mov dword [ebp - 0xc8], ebx
cmp dword [ebp - 0x44], 8
jb 0x100240c6
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 0x10024114
and ebx, 0xfffffffb
mov dword [ebp - 0xc8], ebx
cmp dword [ebp - 0x2c], 8
jb 0x10024100
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 0x10024129
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 - 0xb0], 8
jb 0x10024157
push dword [ebp - 0xc4]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], 0
mov word [ebp - 0xc4], 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