Function at 0x1800bc140
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1800e5c38]
xor rax, rsp
mov qword [rbp + 0xa0], rax
lea eax, [r8 + 0x12]
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x50], eax
mov r10, rdx
mov rdx, qword [rbp + 0x110]
mov esi, r8d
mov edi, dword [rsp + 0x50]
mov r11, rcx
mov qword [rbp - 0x78], r9
mov dword [rsp + 0x68], r8d
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x70], rdx
cmp r8d, eax
jae case.0x1800bc1e1.297
mov r14d, dword [rsp + 0x50]
mov r12, qword [rbp - 0x80]
mov r15, qword [rbp - 0x70]
mov r13d, dword [rsp + 0x50]
xor r8d, r8d
lea eax, [rsi - 0x124]
lea rbx, [0x180000000]
cmp eax, 0x1d
ja case.0x1800bc1e1.298
mov ecx, dword [rbx + rax*4 + 0xbc74c]
add rcx, rbx
jmp rcx
mov dword [rsp + 0x6c], r8d
jmp case.0x1800bc1e1.298
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x1800bc6de
mov rsi, qword [rsp + 0x70]
nop dword [rax + rax]
mov r8, rbx
lea rcx, [rbp - 0x60]
mov edx, pe_nt_image_headers64
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1800bc34d
movzx eax, byte [rbp - 0x60]
cmp al, 0x23
je 0x1800bc32c
xor ebx, ebx
cmp al, 0x2d
jne 0x1800bc265
mov ecx, 0xd1
mov eax, ecx
sub eax, 0xd1
je 0x1800bc256
cmp eax, 1
jne 0x1800bc25b
mov byte [rbp - 0x60], 0x20
jmp 0x1800bc25b
mov ebx, 1
inc ecx
cmp ecx, 0xd3
jb 0x1800bc242
mov edx, 0xa
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x1800bc27b
mov byte [rax], 0
mov edx, 0xd
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x1800bc291
mov byte [rax], 0
test ebx, ebx
jne 0x1800bc2a5
lea rdx, [rbp - 0x60]
lea rcx, str.CurrenciesNarrow
call fcn.1800cfb40
mov eax, dword [rsi]
lea rdx, [rbp - 0x60]
xor ecx, ecx
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov ecx, 0xb9
call fcn.1800be2c0
mov rbx, rax
test eax, eax
je 0x1800bc32c
mov r12, qword [rsp + 0x70]
mov esi, 0x7f
mov eax, esi
sub eax, 0x7e
je 0x1800bc319
cmp eax, 1
jne 0x1800bc31c
mov eax, dword [r12]
lea r9, [rsp + 0x58]
mov r8d, 0x46
mov dword [rsp + 0x58], eax
lea rdx, [rbp - 0x60]
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x60]
call fcn.1800c0160
jmp 0x1800bc31c
inc r14d
dec esi
cmp esi, 0x7d
ja 0x1800bc2e6
mov r12, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
mov rbx, qword [rsp + 0x78]
test eax, eax
je 0x1800bc210
mov esi, dword [rsp + 0x68]
jmp 0x1800bc6de
mov r11, qword [rsp + 0x48]
mov esi, 0x128
mov edi, r14d
jmp case.0x1800bc1e1.298
inc dword [r12 + 0x1c]
jmp case.0x1800bc1e1.298
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x1800bc6de
cmp byte [r11], 0x2d
mov r14d, r8d
jne 0x1800bc3b8
cmp byte [r11 + 1], 0
jne 0x1800bc3b8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x78], rax
jmp 0x1800bc6de
mov ebx, 0x36
nop dword [rax]
mov eax, ebx
sub eax, 0x35
je 0x1800bc3e8
cmp eax, 1
jne 0x1800bc3f4
lea rdx, [0x1800d98cc]
mov rcx, r11
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
jmp 0x1800bc3f4
cmp qword [rsp + 0x78], 0
je 0x1800bc701
dec ebx
cmp ebx, 0x34
ja 0x1800bc3c0
jmp case.0x1800bc1e1.298
mov r12, rdx
mov qword [rbp - 0x80], rdx
jmp case.0x1800bc1e1.298
movzx eax, word [r12 + 0x10]
mov word [r11 + 6], ax
jmp case.0x1800bc1e1.298
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x40], eax
jb 0x1800bc5a0
mov eax, dword [r12 + 0x14]
mov dword [r11], eax
jmp case.0x1800bc1e1.298
mov eax, dword [r12 + 0x10]
add eax, 0xb
and eax, 0xfffffffc
mov dword [rsp + 0x54], eax
jmp case.0x1800bc1e1.298
mov rax, qword [rbp + 0x118]
mov edx, dword [r10]
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rax]
lea ecx, [rdx + r9]
lea eax, [r8 - 8]
cmp ecx, eax
jge 0x1800bc505
cmp dword [r15], 0
jne 0x1800bc505
movzx eax, word [r15 + 4]
add eax, edx
add eax, r9d
cmp eax, r8d
jg 0x1800bc505
mov ebx, 0x43
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x43
je 0x1800bc4ec
sub eax, 0x42
je 0x1800bc4b7
cmp eax, 0x42
jne 0x1800bc4f5
cmp dword [r12 + 0x24], 0
jne 0x1800bc716
mov dword [rsp + 0x6c], 1
jmp 0x1800bc4f5
mov eax, dword [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x58]
mov rax, qword [r12]
mov r9d, 0x111
mov rdx, r11
mov qword [rsp + 0x58], rax
call fcn.180097d60
mov r11, qword [rsp + 0x48]
mov dword [r12 + 0x24], eax
jmp 0x1800bc4f5
movzx eax, word [r15 + 4]
add dword [rsp + 0x40], eax
add ebx, 0x42
cmp ebx, 0x109
jb 0x1800bc490
mov r10, qword [rsp + 0x70]
cmp dword [r11], 0
je case.0x1800bc1e1.298
xor edx, edx
mov esi, 0x41
mov ebx, edx
nop dword [rax + rax]
cmp ebx, 7
ja case.default.0x1800bc53d
lea r8, [0x180000000]
mov eax, ebx
mov ecx, dword [r8 + rax*4 + 0xbc7c4]
add rcx, r8
jmp rcx
mov rax, qword [r12]
lea r8, [rsp + 0x60]
mov r9d, 0x111
mov qword [rsp + 0x58], rax
mov rdx, r11
mov dword [rsp + 0x60], r13d
lea rcx, [rsp + 0x58]
call fcn.180097d60
mov r11, qword [rsp + 0x48]
xor edx, edx
mov dword [r12 + 0x24], eax
jmp case.default.0x1800bc53d
mov edi, 1
jmp case.default.0x1800bc53d
movzx eax, word [r11 + 6]
movzx r13d, al
mov eax, dword [rsp + 0x54]
add r13d, 0xb
and r13d, 0xfffffffc
add eax, r13d
cmp dword [rsp + 0x40], eax
jae case.default.0x1800bc53d
nop
mov eax, dword [rsp + 0x6c]
jmp 0x1800bc71f
mov eax, dword [rsp + 0x54]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x58]
mov rax, qword [r12]
mov r9d, 0x111
mov rdx, r15
mov qword [rsp + 0x58], rax
call fcn.180097d60
mov dword [r12 + 0x24], eax
test eax, eax
jne 0x1800bc716
mov r11, qword [rsp + 0x48]
xor edx, edx
jmp case.default.0x1800bc53d
mov eax, dword [rsp + 0x40]
sub eax, r13d
mov dword [rsp + 0x54], eax
jmp case.default.0x1800bc53d
cmp dword [r12 + 0x24], 0
jne 0x1800bc716
movzx eax, word [r11 + 4]
add rax, qword [rbp - 0x78]
movsxd r15, dword [r10]
add r15, rax
jmp case.default.0x1800bc53d
mov dword [r15], edx
mov word [r15 + 6], dx
mov r10, qword [rsp + 0x70]
inc esi
inc ebx
cmp esi, 0x49
jb 0x1800bc520
mov esi, dword [rsp + 0x68]
jmp case.0x1800bc1e1.298
mov eax, dword [rsp + 0x40]
movsxd r15, dword [r10]
add rax, r9
add r15, rax
jmp case.0x1800bc1e1.298
movsxd r8, dword [r12 + 0x10]
lea rcx, [r11 + 8]
mov rdx, qword [r12 + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rax, qword [r12 + 0x28]
mov r11, qword [rsp + 0x48]
test byte [rax + 0x60], 2
je case.0x1800bc1e1.298
movzx eax, word [r12 + 0x18]
and ax, 7
shl ax, 8
or word [r11 + 6], ax
jmp case.0x1800bc1e1.298
mov edi, 3
jmp case.0x1800bc1e1.298
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setbuf]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setbuf]
jmp 0x1800bc6de
mov rax, qword [r12]
lea r8, [rsp + 0x40]
mov r9, r11
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
mov ecx, 0x8f
call fcn.180086260
mov dword [r12 + 0x24], eax
test eax, eax
jne 0x1800bc716
mov r11, qword [rsp + 0x48]
inc esi
mov dword [rsp + 0x68], esi
cmp esi, dword [rsp + 0x50]
jae case.0x1800bc1e1.297
mov r10, qword [rsp + 0x70]
mov r9, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
jmp 0x1800bc1be
mov rcx, r11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, 2
jmp 0x1800bc71f
mov eax, edi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800d0500
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret