Function at 0x1000f9a0
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ec33
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x10029008]
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 dword [ebp - 0x15c], ecx
mov esi, dword [ebp + 8]
call fcn.10010740
mov ecx, esi
call fcn.10013460
test al, al
je 0x1001061c
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1000fa06
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [ebp - 0x160], ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1001061c
push 0x10029380
push ebx
call fcn.1001c84a
add esp, 8
mov edi, eax
test edi, edi
je 0x1001061c
cmp dword [esi + 0x14], 8
jb 0x1000fa48
mov esi, dword [esi]
push edi
push ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1000fa66
push edi
call fcn.1001c845
add esp, 4
jmp 0x1001061c
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x10022530
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ebx, dword [ebp - 0x15c]
test eax, eax
je 0x1000fab4
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x1000fab4
cmp dword [ebp - 0x18], 0x34
jne 0x1000fab4
push 0x34
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x15c], esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x158]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1000fb7c
cmp dword [ebp - 0x158], esi
je 0x1000fb7c
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
movzx edx, ax
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x18]
add eax, ecx
cmp ecx, eax
jae 0x1000fb0d
cmp word [ecx], dx
je 0x1000fb72
add ecx, 4
cmp ecx, eax
jb 0x1000fb01
push 1
lea eax, [ebp - 0x15c]
push eax
call esi
movzx eax, ax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x158]
call fcn.10010640
test al, al
jne 0x1000fb76
push 1
lea eax, [ebp - 0x15c]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x158]
call fcn.10010640
test al, al
jne 0x1000fb76
push 1
lea eax, [ebp - 0x15c]
push eax
push 9
push dword [ebp - 0x18]
push dword [ebp - 0x158]
call fcn.10010640
test al, al
jne 0x1000fb76
mov eax, dword [ebp - 0x158]
mov esi, dword [eax]
jmp 0x1000fb7c
mov esi, dword [ecx]
jmp 0x1000fb7c
mov esi, dword [ebp - 0x15c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 2
mov eax, esi
shr eax, 0x10
push eax
movzx eax, si
push eax
push str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x30]
push eax
call fcn.10011490
push 0x10022d40
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x154]
call fcn.10009c60
add esp, 0x14
mov byte [ebp - 4], 3
lea eax, [ebp - 0x154]
cmp dword [ebp - 0x140], 8
cmovae eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call esi
test eax, eax
je 0x1000fc3d
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000fc3d
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fc20
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x34]
call fcn.10005680
push 0x10022d58
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x13c]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x13c]
cmp dword [ebp - 0x128], 8
cmovae eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000fcb0
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000fcb0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fc93
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x4c]
call fcn.10005680
push 0x10022d78
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x124]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x124]
cmp dword [ebp - 0x110], 8
cmovae eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000fd23
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000fd23
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fd06
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x64]
call fcn.10005680
push 0x10022d90
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x10c]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10c]
cmp dword [ebp - 0xf8], 8
cmovae eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000fd9d
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000fd9d
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fd80
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x7c]
call fcn.10005680
push 0x10022dac
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xf4]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
cmovae eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000fe13
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000fe13
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fdf3
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x94]
call fcn.10005680
push str.OriginalFileName
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xdc]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 8
lea eax, [ebp - 0xdc]
cmp dword [ebp - 0xc8], 8
cmovae eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000fe90
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000fe90
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fe70
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xac]
call fcn.10005680
push 0x10022df0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xc4]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 8
cmovae eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000ff06
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000ff06
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fee6
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc4]
call fcn.10005680
push 0x10022e08
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xac]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 8
cmovae eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000ff80
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000ff80
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ff60
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xdc]
call fcn.10005680
push 0x10022e28
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x94]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 8
cmovae eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x1000fff3
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x1000fff3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ffd3
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xf4]
call fcn.10005680
push str.LegalTrademarks
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x7c]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x10010060
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x10010060
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010040
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x10c]
call fcn.10005680
push str.PrivateBuild
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x64]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x100100d0
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x100100d0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100100b0
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x124]
call fcn.10005680
push str.SpecialBuild
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.10009c60
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x10010130
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x10010130
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010114
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x13c]
call fcn.10005680
push edi
call fcn.1001c845
add esp, 4
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x10010179
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001016f
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001016f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
xor eax, eax
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x100101cd
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x64]
mov eax, ecx
cmp edx, 0x1000
jb 0x100101c3
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100101c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
xor eax, eax
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x10010221
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x7c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010217
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010217
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
xor eax, eax
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x10010278
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x94]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001026e
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001026e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
xor eax, eax
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x98]
cmp edx, 8
jb 0x100102d8
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xac]
mov eax, ecx
cmp edx, 0x1000
jb 0x100102ce
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100102ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
xor eax, eax
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x1001033b
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xc4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010331
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010331
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
xor eax, eax
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xc8]
cmp edx, 8
jb 0x1001039e
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xdc]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010394
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010394
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
xor eax, eax
mov word [ebp - 0xdc], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xe0]
cmp edx, 8
jb 0x10010401
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xf4]
mov eax, ecx
cmp edx, 0x1000
jb 0x100103f7
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100103f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
xor eax, eax
mov word [ebp - 0xf4], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xf8]
cmp edx, 8
jb 0x10010464
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x10c]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001045a
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001045a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
xor eax, eax
mov word [ebp - 0x10c], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x110]
cmp edx, 8
jb 0x100104c7
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x124]
mov eax, ecx
cmp edx, 0x1000
jb 0x100104bd
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100104bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 7
xor eax, eax
mov word [ebp - 0x124], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x128]
cmp edx, 8
jb 0x1001052a
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x13c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010520
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010520
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 7
xor eax, eax
mov word [ebp - 0x13c], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x140]
cmp edx, 8
jb 0x1001058d
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x154]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010583
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010583
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
xor eax, eax
mov word [ebp - 0x154], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x100105ed
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
cmp edx, 0x1000
jb 0x100105e3
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100105e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
xor eax, eax
mov word [ebp - 0x30], ax
mov al, 1
jmp 0x1001061e
xor al, al
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.1001c04c
mov esp, ebp
pop ebp
ret 4