Function at 0x4108e0
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x42100c]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 0x10], 0
mov esi, ecx
mov dword [esp + 0x30], 0
je 0x410a5c
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x410ae1
cmp dword [esp + 0x2c], 0x103
sete al
test al, al
je 0x410ae1
mov eax, dword [esi + 8]
mov ebx, 1
mov edi, dword [esi + 4]
mov dword [esp + 0x2c], eax
cmp edi, eax
je 0x4109b5
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.00410750
mov edx, dword [ebp + 8]
mov ecx, eax
call fcn.00410ca0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x13], al
cmp ecx, 0x10
jb 0x4109a7
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410999
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a48
push ecx
push edx
call fcn.004158c2
mov al, byte [esp + 0x1b]
add esp, 8
test al, al
jne 0x4109e0
add edi, 0x40
inc ebx
cmp edi, dword [esp + 0x2c]
jne 0x410954
cmp dword [esi + 0x20], 0
je 0x410a17
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.00410750
mov edx, dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.00410ca0
test al, al
je 0x410a17
mov bl, 1
jmp 0x410a19
push 0x41a750
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [edi + 0x3c]
add esp, 4
test ecx, ecx
jne 0x4109fb
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
push dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00415439
mov esp, ebp
pop ebp
ret 4
xor bl, bl
test byte [esp + 0x30], 1
je 0x410a58
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x410a58
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410a4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410a4e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004158c2
add esp, 8
test bl, bl
je 0x410ad1
cmp dword [esi + 0x20], 0
je 0x410ab6
mov eax, dword [esi + 0x20]
lea edx, [esi + 4]
add eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
dec eax
dec ecx
and ecx, eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
cmp edx, eax
je 0x410a8f
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 6
push eax
push ecx
mov ecx, edx
call fcn.00410d20
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
dec eax
add ecx, eax
mov eax, dword [esi + 0x18]
dec eax
and ecx, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + ecx*4]
call fcn.0040ef90
add dword [esi + 0x20], 0xffffffff
jne 0x410ab6
mov dword [esi + 0x1c], 0
mov ecx, esi
call fcn.00410830
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00415439
mov esp, ebp
pop ebp
ret 4
push 0x41a750
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x410ab6
push 0
push str.SAChecker__kichiro
push 0x41a868
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x41a880
call fcn.0040a7d0
push 0x40a9b0
mov ecx, eax
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_____]
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]