Function at 0x100033b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d927
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x10029008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor edi, edi
test edx, edx
je 0x100040de
cmp word [edx], di
je 0x100040de
mov ecx, edx
mov dword [ebp - 0x2b0], edi
xor eax, eax
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003420
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c0]
call fcn.10005680
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3a0]
call fcn.10006360
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x2c0]
mov ecx, 0x100296f8
push eax
call fcn.10008b50
mov esi, dword [ebp - 0x2c0]
test al, al
jne 0x1000347e
mov edi, 2
jmp 0x1000406b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10003715
push str.drivers
lea ecx, [ebp - 0x25c]
call fcn.100055b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.100055b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x25c]
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x28c]
call fcn.10014380
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10003539
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000352f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000352f
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
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x1000359c
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003592
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003592
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
xor eax, eax
mov dword [ebp - 0x24c], 0
mov word [ebp - 0x25c], ax
lea edx, [ebp - 0x28c]
lea eax, [ebp - 0x388]
mov dword [ebp - 0x248], 7
push eax
lea ecx, [ebp - 0x274]
call fcn.10014380
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28c]
push eax
call fcn.10005540
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x1000362a
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003620
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003620
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
xor eax, eax
mov dword [ebp - 0x264], 0
xorps xmm0, xmm0
mov dword [ebp - 0x260], 7
lea ecx, [ebp - 0x244]
mov word [ebp - 0x274], ax
movups xmmword [ebp - 0x244], xmm0
call fcn.1000de40
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x1000367c
cmp dword [ebp - 0x238], 0
jne 0x1000367c
lea ecx, [ebp - 0x238]
push ecx
call eax
lea ecx, [ebp - 0x28c]
call fcn.10013460
test al, al
mov ecx, 4
mov eax, dword [ebp - 0x240]
cmove edi, ecx
test eax, eax
je 0x100036a3
push dword [ebp - 0x238]
call eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x244]
call fcn.1000e0a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x100036f8
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100036ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100036ee
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
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
cmp dword [ebp - 0x2ac], 8
lea ecx, [ebp - 0x2c0]
mov edx, 0x10021b34
cmovae ecx, esi
call fcn.10011030
test al, al
jne 0x1000406b
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
call fcn.10011ba0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2a8]
push str.SYSTEMCurrentControlSetServices_
call fcn.100055b0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c0]
push eax
lea edx, [ebp - 0x2a8]
lea ecx, [ebp - 0x274]
call fcn.100059b0
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2a8]
push eax
call fcn.10005540
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x100037d5
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100037cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100037cb
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
xor eax, eax
mov dword [ebp - 0x264], 0
mov word [ebp - 0x274], ax
lea eax, [ebp - 0x2a8]
push eax
push ecx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x260], 7
call fcn.10011d90
test al, al
jne 0x10003814
or edi, 0x1000
jmp 0x10003fe4
push 0x100215a8
lea ecx, [ebp - 0x234]
call fcn.100055b0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2a8]
push eax
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10011e40
mov byte [ebp - 0x3a1], al
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10003894
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003884
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003884
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001c08d
mov al, byte [ebp - 0x3a1]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], cx
test al, al
je 0x100038bb
or edi, 0x2000
push 0x10021590
lea ecx, [ebp - 0x234]
call fcn.100055b0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x3a8], 0
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x80000002
lea ecx, [ebp - 0x21c]
call fcn.100120c0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10003944
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000393a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000393a
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
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x220], 7
cmp eax, dword [ebp - 0x320]
je 0x10003975
or edi, 0x10000
push 0x1002159c
lea ecx, [ebp - 0x234]
call fcn.100055b0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x3a8], 0
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x80000002
lea ecx, [ebp - 0x21c]
call fcn.100120c0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x100039fe
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100039f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100039f4
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
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x220], 7
cmp eax, dword [ebp - 0x328]
je 0x10003a2f
or edi, 0x20000
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x234]
push str.system32drivers_
call fcn.100055b0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x388]
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x274]
call fcn.100059b0
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x234]
push eax
call fcn.10005540
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x10003ae9
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003adf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003adf
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
xor eax, eax
mov dword [ebp - 0x264], 0
xorps xmm0, xmm0
mov dword [ebp - 0x238], eax
movq qword [ebp - 0x240], xmm0
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x25c]
push 0x1002157c
call fcn.100055b0
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x23c], 0
mov byte [ebp - 0x3a1], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003c17
push 0x10022ed0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003c17
mov edx, dword [esi]
lea ecx, [ebp - 0x2a8]
or edx, 0x20019
lea esi, [ebp - 0x2c4]
cmp dword [ebp - 0x294], 8
push esi
cmovae ecx, dword [ebp - 0x2a8]
push edx
push 0
push ecx
push 0x80000002
call eax
test eax, eax
jne 0x10003c17
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x21c]
call fcn.10012a30
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x3a1], al
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x10003c0f
push 0x10022f04
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003c0f
mov ecx, dword [ebp - 0x2c4]
test ecx, ecx
je 0x10003c0f
push ecx
call eax
mov esi, dword [ebp - 0x240]
jmp 0x10003c19
xor esi, esi
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x10003c5f
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003c55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003c55
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
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
cmp byte [ebp - 0x3a1], al
je 0x10003cae
cmp dword [ebp - 0x290], 2
jne 0x10003cae
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003c92
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28c]
call fcn.10005680
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x28c]
call fcn.10010f50
test eax, eax
je 0x10003cc9
or edi, 0x40000
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x274]
push dword [ebp - 0x304]
call fcn.100055b0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x3c0]
push str.Group
call fcn.100055b0
mov byte [ebp - 4], 0x16
xor eax, eax
mov word [ebp - 0x25c], ax
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x24c], 0
push eax
lea eax, [ebp - 0x3c0]
push eax
lea eax, [ebp - 0x2a8]
push eax
push 0x80000002
call fcn.10011fc0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x3ac]
cmp edx, 8
jb 0x10003da5
mov ecx, dword [ebp - 0x3c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003d9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003d9b
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
xor eax, eax
mov dword [ebp - 0x3b0], 0
lea edx, [ebp - 0x274]
mov dword [ebp - 0x3ac], 7
lea ecx, [ebp - 0x25c]
mov word [ebp - 0x3c0], ax
call fcn.10010f50
test eax, eax
je 0x10003ddd
or edi, 0x80000
cmp dword [ebp - 0x344], 8
lea ecx, [ebp - 0x358]
cmovae ecx, dword [ebp - 0x358]
call fcn.100021f0
test eax, eax
jne 0x10003e00
or edi, 0x100000
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x10003e46
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003e3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003e3c
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
xor eax, eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x10003ea9
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003e9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003e9f
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
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
mov byte [ebp - 4], 0x10
test esi, esi
je 0x10003f1e
mov ecx, dword [ebp - 0x238]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10003ef6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003ef6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1001c08d
add esp, 8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10003f64
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003f5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003f5a
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
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x10003fc7
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003fbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003fbd
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
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x1000402a
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004020
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004020
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
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 1
push 8
push dword [ebp - 0x21c]
call fcn.1001c08d
mov esi, dword [ebp - 0x2c0]
add esp, 8
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a0]
call fcn.10004100
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2ac]
cmp eax, 8
jb 0x100040bd
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100040b3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100040b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1001c08d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
mov eax, edi
mov dword [ebp - 0x2ac], 7
jmp 0x100040e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001c04c
mov esp, ebp
pop ebp
ret 4