Function at 0x10001bc0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100103a3
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10016040]
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, 0x20
or eax, 0xffffffff
shr eax, 1
lea edx, [edx - 1]
cmp eax, 0x7fff
ja 0x10001bf5
mov dword [ebp - 0xb8], eax
mov ecx, 1
lea eax, [edx - 1]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xac], 0x100161c0
mov dword [ebp - 0xa4], eax
lea edx, [ecx + 1]
mov dword [ebp - 0xa8], edx
nop
xor edi, edi
xor esi, esi
test ecx, ecx
je 0x10001c7c
mov ecx, eax
shl edi, cl
add edi, edi
mov dword [ebp - 0xb0], edi
mov edi, dword [ebp - 0xb8]
nop word [eax + eax]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cmp eax, edi
ja 0x10001c50
mov ecx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
shl esi, cl
or edi, eax
add esi, esi
mov eax, ecx
or esi, dword [ebp - 0xb8]
cmp esi, dword [ebp - 0xb4]
jb 0x10001c38
xor edx, edx
mov eax, esi
div dword [ebp - 0xa8]
xor edx, edx
mov ecx, eax
mov eax, edi
div dword [ebp - 0xa8]
cmp eax, ecx
mov ecx, dword [ebp - 0xb4]
jb 0x10001cb0
xor edx, edx
mov eax, esi
div dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
cmp edx, ecx
jne 0x10001c30
xor edx, edx
mov eax, edi
div dword [ebp - 0xa8]
cmp edx, ecx
je 0x10001cfe
mov eax, dword [ebp - 0xac]
mov ecx, dword [edx*8 + 0x100161bc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [edx*8 + 0x100161b8]
mov dword [ebp - 0xb0], esi
mov esi, dword [ebp - 0xac]
mov dword [esi], eax
mov eax, esi
mov esi, dword [ebp - 0xb0]
mov dword [eax + 4], ecx
mov dword [edx*8 + str.RebuildMenu], esi
mov dword [edx*8 + str.FunctionA], edi
mov esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
add esi, 8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xac], esi
cmp esi, 0x100161e0
jne 0x10001c25
mov edi, 0x100161bc
mov dword [ebp - 0xb8], edi
nop word [eax + eax]
push dword [edi]
mov esi, dword [edi - 4]
lea ecx, [ebp - 0xa0]
call fcn.1000dd00
mov dword [ebp - 0xac], eax
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.1000dd00
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov edx, dword [esi + 0x10]
sub eax, edx
cmp eax, 0xc
jb 0x10001e15
lea eax, [edx + 0xc]
mov edi, esi
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x10001d8e
mov edi, dword [esi]
cmp edi, 0x100114d0
jae 0x10001dc3
lea eax, [edi + edx]
cmp eax, str.sed__i_s__b
jb 0x10001dc3
cmp edi, str.sed__i_s__b
ja 0x10001db4
mov dword [ebp - 0xa4], 0
jmp 0x10001dcd
mov eax, edi
sub eax, str.sed__i_s__b
mov dword [ebp - 0xa4], eax
jmp 0x10001dcd
mov dword [ebp - 0xa4], 0xc
lea eax, [edx + 1]
push eax
lea ecx, [edi + 0xc]
push edi
push ecx
call sub.VCRUNTIME140.dll_memmove
push dword [ebp - 0xa4]
push str.sed__i_s__b
push edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0xa4]
mov eax, 0xc
sub eax, edx
push eax
lea eax, [edx + 0x100114d0]
lea ecx, [edi + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0xb8]
add esp, 0x24
jmp 0x10001e32
push 0xc
sub esp, 8
mov byte [ebp - 0xb0], 0
mov ecx, esi
push dword [ebp - 0xb0]
push 0xc
call fcn.1000eea0
mov esi, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 3
push 0x100114c0
cmp eax, 3
jb 0x10001ea7
cmp edx, 0xf
lea esi, [ebp - 0x28]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x28]
jmp 0x10001ebe
mov byte [ebp - 0xb4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xb4]
push 3
call fcn.1000e6e0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0xac]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x40]
call fcn.1000e850
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
push 0xc
push str._g_main.cpp
cmp eax, 0xc
jb 0x10001f40
cmp edx, 0xf
lea esi, [ebp - 0x40]
lea eax, [ecx + 0xc]
cmova esi, dword [ebp - 0x40]
add esi, ecx
mov dword [ebp - 0x30], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
lea eax, [ebp - 0x40]
jmp 0x10001f57
mov byte [ebp - 0xa8], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0xa8]
push 0xc
call fcn.1000e6e0
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10001fc6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001fbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002159
push ecx
push edx
call fcn.1000f41a
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x10002013
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002009
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002159
push ecx
push edx
call fcn.1000f41a
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1000204b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002041
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002159
push ecx
push edx
call fcn.1000f41a
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10002095
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000208b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002159
push ecx
push edx
call fcn.1000f41a
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x100020e4
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100020da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002159
push ecx
push edx
call fcn.1000f41a
add esp, 8
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x44]
add esp, 4
cmp ecx, 0xf
jbe 0x10002129
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000211f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002159
push ecx
push edx
call fcn.1000f41a
add esp, 8
add edi, 8
mov dword [ebp - 0xb8], edi
cmp edi, 0x100161e4
jl 0x10001d40
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.1000f0bd
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3