Function at 0x402bc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.0041c2c5
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0xb0
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x28], edx
mov rax, qword [rbp + 0x20]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov eax, dword [rax + 0x88]
mov edx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x28], rax
mov dword [rbp - 4], 0
mov dword [rbp - 4], 0
jmp 0x402e8b
mov eax, dword [rbp - 4]
lea rdx, [rax*4]
mov rax, qword [rbp - 0x18]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x31], 0
mov ebx, 0
cmp dword [rbp + 0x28], 0
jne 0x402cb7
lea rax, [rbp - 0x90]
mov rcx, rax
call sym.GetGetProcAddressStr__
mov ebx, 1
lea rdx, [rbp - 0x90]
mov rax, qword [rbp - 0x30]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x402cb7
mov esi, 1
jmp 0x402cbc
mov esi, 0
test bl, bl
je 0x402cd0
nop
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.00451e40
test sil, sil
je 0x402cda
jmp 0x402e9e
mov ebx, 0
cmp dword [rbp + 0x28], 1
jne 0x402d11
lea rax, [rbp - 0x80]
mov rcx, rax
call sym.GetCreateThreadStr__
mov ebx, 1
lea rdx, [rbp - 0x80]
mov rax, qword [rbp - 0x30]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x402d11
mov esi, 1
jmp 0x402d16
mov esi, 0
test bl, bl
je 0x402d27
nop
lea rax, [rbp - 0x80]
mov rcx, rax
call fcn.00451e40
test sil, sil
je 0x402d31
jmp 0x402e9e
mov ebx, 0
cmp dword [rbp + 0x28], 2
jne 0x402d68
lea rax, [rbp - 0x70]
mov rcx, rax
call sym.GetGetConsoleWindowStr__
mov ebx, 1
lea rdx, [rbp - 0x70]
mov rax, qword [rbp - 0x30]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x402d68
mov esi, 1
jmp 0x402d6d
mov esi, 0
test bl, bl
je 0x402d7e
nop
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.00451e40
test sil, sil
je 0x402d88
jmp 0x402e9e
mov ebx, 0
cmp dword [rbp + 0x28], 3
jne 0x402dbf
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.GetShowWindowStr__
mov ebx, 1
lea rdx, [rbp - 0x60]
mov rax, qword [rbp - 0x30]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x402dbf
mov esi, 1
jmp 0x402dc4
mov esi, 0
test bl, bl
je 0x402dd5
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.00451e40
test sil, sil
je 0x402ddf
jmp 0x402e9e
mov ebx, 0
cmp dword [rbp + 0x28], 4
jne 0x402e16
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.GetVirtualAllocStr__
mov ebx, 1
lea rdx, [rbp - 0x50]
mov rax, qword [rbp - 0x30]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x402e16
mov esi, 1
jmp 0x402e1b
mov esi, 0
test bl, bl
je 0x402e2c
nop
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00451e40
test sil, sil
je 0x402e33
jmp 0x402e9e
mov ebx, 0
cmp dword [rbp + 0x28], 6
jne 0x402e6a
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.GetSleepStr__
mov ebx, 1
lea rdx, [rbp - 0x40]
mov rax, qword [rbp - 0x30]
mov rcx, rax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x402e6a
mov esi, 1
jmp 0x402e6f
mov esi, 0
test bl, bl
je 0x402e80
nop
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.00451e40
test sil, sil
je 0x402e87
jmp 0x402e9e
add dword [rbp - 4], 1
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x18]
sub eax, 1
cmp eax, dword [rbp - 4]
jae 0x402c55
mov eax, dword [rbp - 4]
lea rdx, [rax + rax]
mov rax, qword [rbp - 0x20]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
lea rdx, [rax*4]
mov rax, qword [rbp - 0x28]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
jmp 0x402fa0
add rsp, 0xb0
pop rbx
pop rsi
pop rbp
ret