Function at 0x10010050
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f74e
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x1002a008]
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 ebx, ecx
mov esi, dword [ebp + 8]
call fcn.10010ee0
mov ecx, esi
call fcn.10013f20
test al, al
je 0x10010de4
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100100b2
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov dword [ebp - 0x178], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10010de4
push 0x1002a380
push edi
call fcn.1001d237
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x10010de4
cmp dword [esi + 0x14], 8
jb 0x100100f8
mov esi, dword [esi]
push eax
push edi
push dword [ebp - 0x40]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1001011b
push dword [ebp - 0x16c]
call fcn.1001d232
add esp, 4
jmp 0x10010de4
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x164]
push eax
push 0x100235d8
mov esi, dword [ebp - 0x16c]
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010169
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x10010169
cmp dword [ebp - 0x18], 0x34
jne 0x10010169
push 0x34
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x24], edx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x168]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010dd4
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x10010dd4
xor esi, esi
xor edx, edx
test dword [ebp - 0x18], 0xfffffffc
jbe 0x1001024e
lea eax, [ecx + esi*4]
cmp dword [ebp - 0x1c], edi
je 0x100101e9
mov eax, dword [eax]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x20], edi
jmp 0x100101ff
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.100110e0
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x170], edx
mov ecx, dword [ebp - 0x168]
lea eax, [ecx + esi*4]
cmp word [eax], 0
jne 0x10010243
mov eax, dword [eax]
mov dword [ebp - 0x170], eax
mov eax, 0x409
mov word [ebp - 0x170], ax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x24]
call fcn.10010e20
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x170], edx
mov ecx, dword [ebp - 0x168]
inc esi
mov eax, dword [ebp - 0x18]
shr eax, 2
cmp esi, eax
jb 0x100101d5
mov ecx, edx
mov dword [ebp - 0x174], edx
cmp ecx, edi
je 0x10010d6a
nop
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
xor eax, eax
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 3
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x3c]
push eax
call fcn.10012370
push 0x10023dd0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x160]
call fcn.1000a170
add esp, 0x14
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x44], 0
jne 0x1001031f
lea eax, [ebp - 0x160]
cmp dword [ebp - 0x14c], 8
cmovae eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001031f
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x1001031f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010300
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x34]
call fcn.10006100
mov esi, dword [ebp - 0x16c]
push 0x10023de8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x148]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebx + 0x5c], 0
jne 0x10010399
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 8
cmovae eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010399
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x10010399
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010380
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x4c]
call fcn.10006100
push 0x10023e08
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x130]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x74], 0
jne 0x1001041f
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 8
cmovae eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001041f
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x1001041f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010400
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x64]
call fcn.10006100
mov esi, dword [ebp - 0x16c]
push 0x10023e20
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x118]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebx + 0x8c], 0
jne 0x10010499
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x104], 8
cmovae eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010499
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x10010499
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010480
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x7c]
call fcn.10006100
push 0x10023e3c
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x100]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0xa4], 0
jne 0x10010522
lea eax, [ebp - 0x100]
cmp dword [ebp - 0xec], 8
cmovae eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010522
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x10010522
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010500
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x94]
call fcn.10006100
mov esi, dword [ebp - 0x16c]
push str.OriginalFileName
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xe8]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebx + 0xbc], 0
jne 0x1001059c
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 8
cmovae eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001059c
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x1001059c
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010580
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xac]
call fcn.10006100
push 0x10023e80
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xd0]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0xd4], 0
jne 0x10010622
lea eax, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 8
cmovae eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010622
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x10010622
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010600
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc4]
call fcn.10006100
mov esi, dword [ebp - 0x16c]
push 0x10023e98
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xb8]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebx + 0xec], 0
jne 0x1001069c
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001069c
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x1001069c
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010680
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xdc]
call fcn.10006100
push 0x10023eb8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0xa0]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x104], 0
jne 0x10010722
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010722
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x10010722
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010700
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xf4]
call fcn.10006100
mov esi, dword [ebp - 0x16c]
push str.LegalTrademarks
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x88]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebx + 0x11c], 0
jne 0x1001079c
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1001079c
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x1001079c
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010780
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x10c]
call fcn.10006100
push str.PrivateBuild
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x70]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x16c]
cmp dword [ebx + 0x134], 0
jne 0x10010815
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010815
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x10010815
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100107f3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x124]
call fcn.10006100
mov esi, dword [ebp - 0x16c]
push str.SpecialBuild
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x58]
call fcn.1000a170
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebx + 0x14c], 0
jne 0x10010882
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10010882
mov edx, dword [ebp - 0x164]
test edx, edx
je 0x10010882
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010866
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x13c]
call fcn.10006100
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x100108c2
lea edx, [eax*2 + 2]
mov ecx, dword [ebp - 0x58]
mov eax, ecx
cmp edx, 0x1000
jb 0x100108b8
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100108b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
xor eax, eax
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x10010916
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x70]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001090c
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001090c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
xor eax, eax
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x1001096d
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x88]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010963
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010963
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
xor eax, eax
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x100109ca
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xa0]
mov eax, ecx
cmp edx, 0x1000
jb 0x100109c0
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100109c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
xor eax, eax
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x10010a2d
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xb8]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010a23
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010a23
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
xor eax, eax
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x10010a90
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xd0]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010a86
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010a86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
xor eax, eax
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x10010af3
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xe8]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010ae9
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010ae9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
xor eax, eax
mov word [ebp - 0xe8], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x10010b56
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x100]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010b4c
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010b4c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
xor eax, eax
mov word [ebp - 0x100], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x104]
cmp edx, 8
jb 0x10010bb9
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x118]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010baf
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010baf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
xor eax, eax
mov word [ebp - 0x118], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x11c]
cmp edx, 8
jb 0x10010c1c
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x130]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c12
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010c12
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
xor eax, eax
mov word [ebp - 0x130], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x134]
cmp edx, 8
jb 0x10010c7f
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x148]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c75
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010c75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 7
xor eax, eax
mov word [ebp - 0x148], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14c]
cmp edx, 8
jb 0x10010ce2
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x160]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010cd8
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010cd8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 7
xor eax, eax
mov word [ebp - 0x160], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x10010d3f
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010d35
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010d35
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
xor eax, eax
mov word [ebp - 0x3c], ax
mov ecx, dword [ebp - 0x174]
add ecx, 4
mov dword [ebp - 0x174], ecx
cmp ecx, edi
jne 0x10010260
push dword [ebp - 0x16c]
call fcn.1001d232
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x170]
test edx, edx
je 0x10010dd0
mov ecx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x10010db1
add ecx, 0x23
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov al, 1
jmp 0x10010de6
push esi
call fcn.1001d232
add esp, 4
mov dword [ebp - 4], 0xffffffff
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.1001ca39
mov esp, ebp
pop ebp
ret 4