Function at 0x40b320
Capabilities:
Access peb ldr_data
Create thread
Encode data using xor
Execute command

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c1d8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x328
mov eax, dword [0x443010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2f4], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x31c], eax
call eax
movups xmm0, xmmword [0x43afd8]
mov dword [ebp - 0x314], eax
lea ecx, [ebp - 0x2a8]
xor eax, eax
mov dword [ebp - 0x2ec], edx
movups xmmword [ebp - 0x2e8], xmm0
movups xmm0, xmmword [0x43afe8]
movups xmmword [ebp - 0x2d8], xmm0
movups xmm0, xmmword [0x43aff8]
movups xmmword [ebp - 0x2c8], xmm0
movq xmm0, qword [0x43b008]
movq qword [ebp - 0x2b8], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x2a8], 1
mov word [ebp - 0x2a4], 0
mov byte [ebp - 0x2a2], 0
mov word [ebp - 0x2a0], ax
mov byte [ebp - 0x29e], al
mov dword [ebp - 0x29c], eax
call fcn.00408580
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x18
movups xmmword [ecx], xmm0
push str.___version_hash:_:02x
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
lea ecx, [ebp - 0x2a7]
call fcn.0040da30
movzx eax, word [ebp - 0x2a6]
xorps xmm0, xmm0
mov ch, al
mov cl, ah
movzx eax, cx
mov ecx, esp
push 0x14
push str.___cpu_hash:_:02x
mov dword [ebp - 0x18c], eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
lea ecx, [ebp - 0x18c]
call fcn.0040db60
mov ecx, esp
xorps xmm0, xmm0
push 0x14
push str.___gpu_hash:_:02x
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
lea ecx, [ebp - 0x2a4]
call fcn.0040da30
mov ecx, esp
xorps xmm0, xmm0
push 0x18
push str.___network_hash:_:02x
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
lea ecx, [ebp - 0x2a2]
call fcn.0040da30
movzx eax, word [ebp - 0x29c]
xorps xmm0, xmm0
mov ch, al
mov cl, ah
movzx eax, cx
mov ecx, esp
mov dword [ebp - 0x18c], eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
push 0x15
push str.___disk_hash:_:02x
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
lea ecx, [ebp - 0x18c]
call fcn.0040db60
movups xmm0, xmmword [ebp - 0x2a8]
add esp, 8
lea ecx, [ebp - 0x1b4]
mov eax, esp
sub esp, 0x38
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x2e8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x2d8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x2c8]
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [ebp - 0x2b8]
movq qword [eax + 0x30], xmm0
call fcn.0040ac70
add esp, 0x48
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 4], 0
call fcn.0040b180
test al, al
jne 0x40b5b5
mov esi, 1
mov ecx, dword [ebp - 0x1a0]
cmp ecx, 0x10
jb 0x40bf96
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bf8c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x34
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], 0x22c70100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x1a0], 0x10
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x73]
cmovae edx, dword [ebp - 0x1b4]
add esp, 8
call fcn.00409da0
add esp, 4
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x2e0]
xor byte [ebp + ecx - 0x73], al
mov al, byte [ebp + ecx - 0x2df]
xor byte [ebp + ecx - 0x72], al
mov al, byte [ebp + ecx - 0x2de]
xor byte [ebp + ecx - 0x71], al
mov al, byte [ebp + ecx - 0x2dd]
xor byte [ebp + ecx - 0x70], al
add ecx, 4
cmp ecx, 0x10
jl 0x40b5f0
push 0x5c
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call fcn.00419fd0
add esp, 4
lea eax, [ebp - 0x2e0]
push 0x30
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041a010
add esp, 0xc
lea eax, [ebp - 0x218]
xorps xmm0, xmm0
movups xmmword [ebp - 0x118], xmm0
push eax
lea eax, [ebp - 0x118]
push eax
movups xmmword [ebp - 0x108], xmm0
call fcn.00419eb0
lea eax, [ebp - 0x78]
mov edx, 0x10
push 2
push eax
lea ecx, [ebp - 0x118]
call fcn.00409ed0
xorps xmm0, xmm0
mov word [ebp - 0x34], 0
add esp, 0x10
mov byte [ebp - 0x32], 0
movups xmmword [ebp - 0x44], xmm0
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x2d0]
xor al, byte [ebp + ecx - 0x2e0]
xor al, byte [ebp + ecx - 0x2c0]
mov byte [ebp + ecx - 0x44], al
mov al, byte [ebp + ecx - 0x2bf]
xor al, byte [ebp + ecx - 0x2df]
xor al, byte [ebp + ecx - 0x2cf]
mov byte [ebp + ecx - 0x43], al
mov al, byte [ebp + ecx - 0x2be]
xor al, byte [ebp + ecx - 0x2de]
xor al, byte [ebp + ecx - 0x2ce]
mov byte [ebp + ecx - 0x42], al
mov al, byte [ebp + ecx - 0x2bd]
xor al, byte [ebp + ecx - 0x2dd]
xor al, byte [ebp + ecx - 0x2cd]
mov byte [ebp + ecx - 0x41], al
add ecx, 4
cmp ecx, 0x10
jl 0x40b6b0
cmp dword [ebp - 0x1a0], 0x10
lea ecx, [ebp - 0x1b4]
movups xmm0, xmmword [ebp - 0x76]
cmovae ecx, dword [ebp - 0x1b4]
lea edx, [ebp - 0x76]
push 0x13
movzx eax, word [ecx]
mov word [ebp - 0x34], ax
mov al, byte [ecx + 2]
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x66]
mov dword [ebp - 0x84], eax
mov al, byte [ebp - 0x62]
mov byte [ebp - 0x80], al
lea eax, [ebp - 0x94]
push eax
movups xmmword [ebp - 0x94], xmm0
call fcn.00409f40
mov al, byte [ebp - 0x78]
mov edi, 0x20000
mov byte [ebp - 0xf8], al
mov al, byte [ebp - 0x77]
push 0x3e
mov byte [ebp - 0xf7], al
lea eax, [ebp - 0xf6]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [ebp - 0x84]
lea esi, [ebp - 0x194]
movups xmm0, xmmword [ebp - 0x94]
add esp, 0x14
mov word [ebp - 0xe6], ax
mov al, byte [ebp - 0x82]
movups xmmword [ebp - 0xf6], xmm0
mov byte [ebp - 0xe4], al
push 8
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x18d], 0
call fcn.0041abf1
lea ecx, [ebp - 0x18d]
mov dword [ebp - 0x18c], eax
add esp, 4
mov dword [eax], esi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x410de0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x19c], eax
test eax, eax
je 0x40bfb6
mov byte [ebp - 4], 2
mov esi, 8
nop word [eax + eax]
push 0x15
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xf8]
call fcn.0040a010
inc dword [ebp - 0x194]
lea edx, [ebp - 0xf8]
add esp, 4
lea ecx, [ebp - 0x78]
push 0x15
call fcn.0040a010
inc dword [ebp - 0x194]
add esp, 4
sub esi, 1
jne 0x40b830
sub edi, 1
jne 0x40b821
mov al, 1
lea ecx, [ebp - 0x18d]
xchg byte [ecx], al
cmp dword [ebp - 0x198], edi
jne 0x40b886
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [ebp - 0x198]
cmp ecx, eax
jne 0x40b89e
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [ebp - 0x19c]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x40b8bc
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
push 1
push 0x43af74
lea ecx, [ebp - 0x2b0]
movlpd qword [ebp - 0x19c], xmm0
movups xmmword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x29c], 0
call fcn.0040dfc0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2b0]
cmp dword [ebp - 0x29c], 0x10
mov ecx, dword [ebp - 0x2a0]
cmovae edx, dword [ebp - 0x2b0]
sub esp, 8
mov eax, esp
push ecx
push edx
lea ecx, [ebp - 0x310]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.0040f650
add esp, 0x10
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40b943
mov eax, dword [eax]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, eax
call fcn.0040f7f0
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 0x10
jb 0x40b994
mov edx, dword [ebp - 0x310]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b98a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b98a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041adfa
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x29c]
cmp ecx, 0x10
jb 0x40b9d4
mov edx, dword [ebp - 0x2b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b9ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041adfa
add esp, 8
lea ecx, [ebp - 0x7b]
call fcn.0040abe0
xor edx, edx
mov dword [ebp - 0x18c], eax
xor esi, esi
xor cl, cl
mov eax, esi
inc edx
and eax, 3
inc esi
xor cl, byte [ebp + eax - 0x18c]
cmp edx, 4
jb 0x40b9e8
xorps xmm0, xmm0
mov byte [ebp - 0x7c], cl
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x18], 0
mov ecx, 0x81
xor edx, edx
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
sar eax, 0x10
mov byte [ebp + edx - 0x28], al
inc edx
cmp edx, 0x10
jb 0x40ba10
movzx ecx, byte [ebp - 0x1f]
xorps xmm0, xmm0
xor byte [ebp - 0x27], cl
movzx ecx, byte [ebp - 0x1e]
xor byte [ebp - 0x26], cl
movzx ecx, byte [ebp - 0x1d]
xor byte [ebp - 0x25], cl
movzx ecx, byte [ebp - 0x1c]
xor byte [ebp - 0x24], cl
mov dl, byte [ebp - 0x20]
movzx ecx, byte [ebp - 0x1b]
mov al, byte [ebp - 0x44]
xor byte [ebp - 0x23], cl
xor byte [ebp - 0x28], dl
xor dl, al
movzx ecx, byte [ebp - 0x1a]
xor byte [ebp - 0x22], cl
movzx ecx, byte [ebp - 0x19]
xor byte [ebp - 0x21], cl
push 0x80
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x298]
push 0
push eax
movups xmmword [ebp - 0xb4], xmm0
mov byte [ebp - 0x20], dl
movups xmmword [ebp - 0xa4], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a0f0
push 1
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x298]
movlpd qword [ebp - 0x30], xmm0
push eax
push 0x19
push 8
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0041a330
add esp, 0x24
lea edx, [ebp - 0xb4]
mov ecx, str.___final_des_buffer:
push 0x19
call fcn.00408420
add esp, 4
lea eax, [ebp - 0x144]
push 0x29
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov esi, 1
add esp, 0xc
mov dword [ebp - 0x18c], esi
mov edx, 0x1f
mov dword [ebp - 0x2f0], ecx
xor edi, edi
lea eax, [ebp - 0xb4]
add eax, esi
cmp esi, 0x19
jb 0x40bb23
xor esi, esi
jmp 0x40bb26
movzx esi, byte [eax]
movzx eax, byte [eax - 1]
and edi, 0xffff0000
shl esi, 8
or eax, esi
mov esi, dword [ebp - 0x2f0]
or edi, eax
mov eax, edi
and eax, edx
shl edx, 5
sar eax, cl
add ecx, 5
mov byte [ebp + esi - 0x144], al
mov eax, esi
mov esi, dword [ebp - 0x18c]
inc eax
mov dword [ebp - 0x2f0], eax
cmp ecx, 8
jl 0x40bb71
inc esi
sar edx, 8
mov dword [ebp - 0x18c], esi
sub ecx, 8
cmp eax, 0x28
jb 0x40bb12
push 0x28
lea edx, [ebp - 0x144]
mov ecx, str.___uc_in_hex:
call fcn.00408420
add esp, 4
lea edx, [ebp - 0xf8]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x144]
cmp al, 7
ja 0x40bba6
movzx eax, al
add eax, 0x32
jmp 0x40bbc8
cmp al, 0xf
ja 0x40bbb2
movzx eax, al
add eax, 0x39
jmp 0x40bbc8
cmp al, 0x14
ja 0x40bbbe
movzx eax, al
add eax, 0x3a
jmp 0x40bbc8
cmp al, 0x1f
ja 0x40bbd9
movzx eax, al
add eax, 0x3b
shl eax, 0x18
sar eax, 0x18
mov byte [edx], al
mov eax, ecx
inc edx
inc ecx
cmp eax, 0x28
jb 0x40bb93
push 0x40
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0xf8]
mov esi, 0x28
lea eax, [ebp - 0x188]
mov ecx, 5
lea edi, [eax]
mov dword [ebp - 0x18c], ecx
dec ecx
lea eax, [edi + 1]
cmp dword [ebp - 0x18c], 0
mov dword [ebp - 0x2f0], eax
je 0x40bc23
mov al, byte [edx]
inc edx
dec esi
jmp 0x40bc2a
mov ecx, 5
mov al, 0x2d
mov byte [edi], al
mov eax, dword [ebp - 0x2f0]
test esi, esi
jne 0x40bc02
mov byte [edx], 0
call dword [ebp - 0x31c]
sub eax, dword [ebp - 0x314]
mov ecx, eax
sbb edx, dword [ebp - 0x2ec]
call fcn.0041be50
cvtsd2ss xmm0, xmm0
push 0x24
push str.___generated_code_in_:.3f_seconds
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
divss xmm0, dword [0x43fecc]
movss dword [ebp - 0x2ec], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2b0], xmm0
call fcn.0040dfc0
movss xmm0, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2b0]
mov byte [ebp - 4], 5
lea esi, [ebp - 0x318]
cmp dword [ebp - 0x29c], 0x10
mov ecx, dword [ebp - 0x2a0]
cmovae edx, dword [ebp - 0x2b0]
sub esp, 8
mov eax, esp
movss dword [ebp - 0x314], xmm0
mov dword [ebp - 0x318], 0x70000000
push ecx
push edx
lea ecx, [ebp - 0x310]
mov dword [eax], 1
mov dword [eax + 4], esi
call fcn.0040f650
add esp, 0x10
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40bd01
mov eax, dword [eax]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, eax
call fcn.0040f7f0
add esp, 4
mov ecx, eax
push 0x40d710
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 0x10
jb 0x40bd5f
mov edx, dword [ebp - 0x310]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bd55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bd55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041adfa
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x29c]
cmp ecx, 0x10
jb 0x40bd9f
mov edx, dword [ebp - 0x2b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bd95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bd95
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041adfa
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 8
movups xmmword [ecx], xmm0
push str.___done
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
call fcn.0040d740
mov ecx, esp
xorps xmm0, xmm0
push 0
push 0x43c8ec
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
call fcn.0040d740
add esp, 0x18
mov dword [ebp - 0x300], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x310]
movups xmmword [ebp - 0x310], xmm0
push 2
push 0x43cdf4
call fcn.0040dfc0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x310]
cmp dword [ebp - 0x2fc], 0x10
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0x300]
lea esi, [ebp - 0x30]
cmovae edx, dword [ebp - 0x310]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov eax, esp
mov dword [ebp - 0x30], 0xb0000000
push ecx
push edx
lea ecx, [ebp - 0x334]
mov dword [eax], 1
mov dword [eax + 4], esi
call fcn.0040f650
add esp, 0x10
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40be81
mov eax, dword [eax]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, eax
call fcn.0040f7f0
add esp, 4
mov ecx, eax
push 0x40d710
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x320]
cmp ecx, 0x10
jb 0x40bedf
mov edx, dword [ebp - 0x334]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bed5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bed5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041adfa
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 0x10
jb 0x40bf1f
mov edx, dword [ebp - 0x310]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bf15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041adfa
add esp, 8
cmp dword [ebx + 8], 2
jne 0x40bf40
mov eax, dword [ebp - 0x2f4]
push 0x43cdf8
push dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x40bf78
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0
movups xmmword [ecx], xmm0
push 0x43c8ec
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040dfc0
call fcn.0040d740
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0x1c
xor esi, esi
cmp dword [ebp - 0x198], esi
je 0x40b577
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push ecx
push edx
call fcn.0041adfa
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041abe3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 6
mov dword [ebp - 0x198], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3