Function at 0x409ee0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a0ec
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4cc498]
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 ebx, ecx
mov dword [ebp - 0x120], ebx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x130]
push eax
mov ecx, edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x14], 0
call fcn.00405a00
mov eax, dword [ebp - 0x130]
mov dword [ebp - 4], 0
cmp eax, dword [ebp - 0x12c]
jne 0x409f53
mov esi, 2
jmp 0x40ac72
push 3
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x4a7b38
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00404580
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.004061f0
mov edx, dword [ebp - 0x74]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x409fdd
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409fd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409fd3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
test esi, esi
je 0x409fff
call fcn.00403860
mov ecx, eax
call fcn.00403b10
mov ecx, eax
call fcn.004305d0
mov esi, eax
test si, si
jne 0x40ac72
push 4
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x4a7b40
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00404580
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.004060e0
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40a08e
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a084
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a084
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x90], eax
je 0x40a4ed
lea ecx, [ebp - 0x18]
call fcn.0042de90
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0042e760
lea ecx, [ebp - 0x18]
call fcn.0042e7a0
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov esi, eax
cmovae ecx, dword [ebp - 0xa0]
push 0x4a7bd0
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a104
xor ebx, ebx
cmp esi, 1
sete bl
jmp 0x40a16a
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push str.Admin
cmovae eax, dword [ebp - 0xa0]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a131
xor ebx, ebx
cmp esi, 2
sete bl
jmp 0x40a16a
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push str.Shell
cmovae eax, dword [ebp - 0xa0]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a4db
cmp esi, 2
jne 0x40a186
lea ecx, [ebp - 0x18]
call fcn.0042f3a0
neg eax
sbb ebx, ebx
inc ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042ded0
test ebx, ebx
jne 0x40a4e7
mov ebx, dword [ebp - 0x120]
jmp 0x40a19b
cmp esi, 1
jne 0x40a4db
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042ded0
push 0xb
xor eax, eax
mov dword [ebp - 0x28], 0
push str.ServiceType
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404580
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.004060e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x40a21c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a212
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a212
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push str.Daemon
push eax
mov dword [ebp - 0x14], 7
call edi
add esp, 8
test eax, eax
jne 0x40a272
call fcn.00403860
mov ecx, eax
call fcn.00403b10
mov ecx, eax
call fcn.00430910
lea eax, [ebp - 0xa0]
mov ecx, ebx
push eax
call fcn.0040c590
mov esi, eax
jmp 0x40a496
lea ecx, [ebp - 0x11c]
call fcn.00405510
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401960
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00406770
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x40a2fa
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ac
push edx
push ecx
call fcn.0049744e
add esp, 8
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
test esi, esi
je 0x40a3bc
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x40a376
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40a359
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40a34f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3ac
mov eax, edx
push ecx
push eax
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x40a324
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40a3b2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a3b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0049744e
add esp, 8
push 0x4a7b40
lea ecx, [ebp - 0x70]
call fcn.00401960
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x11c]
call fcn.00407260
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x40a41c
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a412
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a412
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00405810
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push ecx
push eax
call fcn.0040c3d0
mov edx, dword [ebp - 0x5c]
add esp, 8
mov esi, eax
cmp edx, 8
jb 0x40a477
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a46d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4c6
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00405670
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40ac13
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a4cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
jmp 0x40ac13
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042ded0
mov edi, dword [ebp - 0x124]
push 9
xor eax, eax
mov dword [ebp - 0x58], 0
push str.Temporary
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00404580
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
mov ebx, 1
mov ecx, edi
push eax
mov dword [ebp - 0x14], ebx
call fcn.004061f0
test eax, eax
je 0x40a56c
push str.Temporary
lea ecx, [ebp - 0x70]
call fcn.00401960
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 3
push eax
mov ecx, edi
call fcn.004060e0
mov ebx, 7
cmp dword [eax + 0x10], 0
jne 0x40a56c
lea esi, [ebx - 6]
jmp 0x40a56e
xor esi, esi
test bl, 4
je 0x40a5c4
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x40a5b0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a655
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xe
test bl, 2
je 0x40a61d
mov edx, dword [ebp - 0x5c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x40a609
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a655
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 4
test bl, 1
je 0x40a665
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40a665
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a65b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a65b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
mov ebx, dword [ebp - 0x120]
test esi, esi
je 0x40a684
mov ecx, ebx
call fcn.0040bcb0
test eax, eax
je 0x40a684
mov esi, 0x11
jmp 0x40ac13
push 5
xor eax, eax
mov dword [ebp - 0x28], 0
push str.Entry
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404580
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xb8]
mov ecx, edi
push eax
call fcn.004060e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40a704
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a6fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xc
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x58]
push str.EncodePathU8
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00404580
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x13
push eax
mov ecx, edi
call fcn.004061f0
mov edx, dword [ebp - 0x44]
mov esi, eax
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40a789
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a77f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a77f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
test esi, esi
je 0x40a945
push str.OnlyVerifyCertSigner
lea ecx, [ebp - 0x88]
call fcn.00401960
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x14
push eax
mov ecx, edi
call fcn.004061f0
cmp eax, 1
lea ecx, [ebp - 0x70]
push str.EncodePathU8
sete bl
call fcn.00401960
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004060e0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x16
jb 0x40a7e5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00480fb0
add esp, 8
push ebx
mov ebx, dword [ebp - 0x120]
lea ecx, [ebp - 0xb8]
push ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x17
call fcn.0040b350
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x40a84c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a93f
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x40a89e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a894
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a93f
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x40a8ec
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a93f
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40ab04
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aafa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40aafa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.EncodePath
lea ecx, [ebp - 0x40]
call fcn.00401960
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x18
push eax
mov ecx, edi
call fcn.004061f0
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40a9a3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a999
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a999
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
push str.OnlyVerifyCertSigner
test esi, esi
je 0x40aa90
lea ecx, [ebp - 0x70]
call fcn.00401960
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x19
push eax
mov ecx, edi
call fcn.004061f0
cmp eax, 1
mov eax, dword [ebp - 0x130]
sete bl
cmp dword [eax + 0x14], 8
jb 0x40a9db
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00480fb0
add esp, 8
push ebx
mov ebx, dword [ebp - 0x120]
lea ecx, [ebp - 0xb8]
push ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1a
call fcn.0040b350
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0x19
cmp edx, 8
jb 0x40aa3e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa8a
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40ab04
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aafa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40aafa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x40]
call fcn.00401960
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, edi
call fcn.004061f0
cmp eax, 1
mov ecx, ebx
sete al
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x130]
call fcn.0040b350
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40ab04
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aafa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40aafa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
test si, si
jne 0x40abba
mov esi, dword [ebp - 0x130]
add esi, 0x18
cmp esi, dword [ebp - 0x12c]
je 0x40abb0
cmp dword [ebx + 0x28], 0
je 0x40ab37
push 1
push 0x4a76dc
lea ecx, [ebx + 0x18]
call fcn.00401cd0
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00411ff0
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0x1c
jb 0x40ab53
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebx + 0x18]
call fcn.00401cd0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40ab9b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ab91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fcd
push edx
push ecx
call fcn.0049744e
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x12c]
jne 0x40ab22
mov edi, dword [ebp - 0x124]
push edi
mov ecx, ebx
call fcn.00409980
xor esi, esi
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x40abf6
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40abec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac45
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x40ac55
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ac4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ac4b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea ecx, [ebp - 0x130]
call fcn.00401b00
mov eax, esi
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.0049745c
mov esp, ebp
pop ebp
ret 4