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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x7b0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x154
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7d8]
mov rax, qword [0x180128500]
xor rax, rbp
mov qword [rbp + 0x788], rax
lea rcx, [0x18013b0a2]
call fcn.1800e2810
cmp qword [rbp + 0x7b0], 0
jne 0x1800454e0
xor eax, eax
jmp 0x180045a29
mov rax, qword [rbp + 0x7b0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x88]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 4]
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0x84], 0
jne 0x180045557
xor eax, eax
jmp 0x180045a29
cmp qword [rbp + 0x7b8], 0xffff
ja 0x180045750
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x10]
dec eax
mov eax, eax
and rax, 0xffff
mov word [rbp + 0xc4], ax
mov rax, qword [rbp + 0x7b8]
and rax, 0xffff
movzx eax, ax
movzx ecx, word [rbp + 0xc4]
sub eax, ecx
mov word [rbp + 0xe4], ax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
movzx ecx, word [rbp + 0xe4]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0xa4]
cmp dword [rbp + 0x104], eax
jb 0x180045750
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cmp dword [rbp + 0x104], eax
jae 0x180045750
lea rax, [rbp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov eax, dword [rbp + 0x104]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x778], rax
mov qword [rbp + 0x780], 0xffffffffffffffff
inc qword [rbp + 0x780]
mov rax, qword [rbp + 0x778]
mov rcx, qword [rbp + 0x780]
cmp byte [rax + rcx], 0
jne 0x180045624
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
jne 0x18004565e
xor eax, eax
jmp 0x180045a29
mov eax, dword [rbp + 0x104]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
lea rcx, [rbp + 0x130]
mov rdi, rcx
mov rsi, rax
mov rcx, qword [rbp + 0x258]
rep movsb byte [rdi], byte [rsi]
mov edx, 0x2e
lea rcx, [rbp + 0x130]
call fcn.180045cd0
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
mov byte [rax], 0
mov rax, qword [rbp + 0x278]
inc rax
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
movsx eax, byte [rax]
cmp eax, 0x23
jne 0x1800456f6
mov rax, qword [rbp + 0x278]
inc rax
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cdqe
and rax, 0xffff
movzx eax, ax
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 0x130]
call fcn.180045ba0
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x7b0]
cmp qword [rbp + 0x298], rax
jne 0x180045738
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180045738
xor eax, eax
jmp 0x180045a29
mov rdx, qword [rbp + 0x278]
mov rcx, qword [rbp + 0x298]
call fcn.180045480
jmp 0x180045a29
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x18]
dec eax
mov dword [rbp + 0x2b4], eax
mov dword [rbp + 0x2d4], 0
xor eax, eax
mov word [rbp + 0x2f4], ax
mov eax, dword [rbp + 0x2b4]
cmp dword [rbp + 0x2d4], eax
ja 0x18004585d
mov eax, dword [rbp + 0x2b4]
mov ecx, dword [rbp + 0x2d4]
add ecx, eax
mov eax, ecx
shr eax, 1
mov dword [rbp + 0x314], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x314]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0x334], eax
mov eax, dword [rbp + 0x334]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x358], rax
mov rax, qword [rbp + 0x358]
mov rcx, qword [rbp + 0x7b8]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1800457f7
inc rax
test dl, dl
jne 0x1800457e4
xor eax, eax
jmp 0x1800457fc
sbb eax, eax
or eax, 1
mov dword [rbp + 0x374], eax
cmp dword [rbp + 0x374], 0
jge 0x18004581b
mov eax, dword [rbp + 0x314]
inc eax
mov dword [rbp + 0x2d4], eax
jmp 0x180045858
cmp dword [rbp + 0x374], 0
jle 0x180045834
mov eax, dword [rbp + 0x314]
dec eax
mov dword [rbp + 0x2b4], eax
jmp 0x180045858
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x314]
movzx eax, word [rax + rcx*2]
mov word [rbp + 0x2f4], ax
jmp 0x18004585d
jmp 0x180045772
movzx eax, word [rbp + 0x2f4]
test eax, eax
jne 0x18004586f
xor eax, eax
jmp 0x180045a29
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
movzx ecx, word [rbp + 0x2f4]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0x394], eax
mov eax, dword [rbp + 0xa4]
cmp dword [rbp + 0x394], eax
jb 0x180045a19
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cmp dword [rbp + 0x394], eax
jae 0x180045a19
lea rax, [rbp + 0x3c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov eax, dword [rbp + 0x394]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x778], rax
mov qword [rbp + 0x780], 0xffffffffffffffff
inc qword [rbp + 0x780]
mov rax, qword [rbp + 0x778]
mov rcx, qword [rbp + 0x780]
cmp byte [rax + rcx], 0
jne 0x1800458f3
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x4e8], rax
cmp qword [rbp + 0x4e8], 0
jne 0x18004592d
xor eax, eax
jmp 0x180045a29
mov eax, dword [rbp + 0x394]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
lea rcx, [rbp + 0x3c0]
mov rdi, rcx
mov rsi, rax
mov rcx, qword [rbp + 0x4e8]
rep movsb byte [rdi], byte [rsi]
mov edx, 0x2e
lea rcx, [rbp + 0x3c0]
call fcn.180045cd0
mov qword [rbp + 0x508], rax
mov rax, qword [rbp + 0x508]
mov byte [rax], 0
mov rax, qword [rbp + 0x508]
inc rax
mov qword [rbp + 0x508], rax
mov rax, qword [rbp + 0x508]
movsx eax, byte [rax]
cmp eax, 0x23
jne 0x1800459c5
mov rax, qword [rbp + 0x508]
inc rax
mov qword [rbp + 0x508], rax
mov rcx, qword [rbp + 0x508]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cdqe
and rax, 0xffff
movzx eax, ax
mov qword [rbp + 0x508], rax
lea rcx, [rbp + 0x3c0]
call fcn.180045ba0
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x7b0]
cmp qword [rbp + 0x528], rax
jne 0x180045a04
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x508]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180045a04
xor eax, eax
jmp 0x180045a29
mov rdx, qword [rbp + 0x508]
mov rcx, qword [rbp + 0x528]
call fcn.180045480
jmp 0x180045a29
mov eax, dword [rbp + 0x394]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1800f85d0]
call fcn.1800e26b4
mov rax, rdi
mov rcx, qword [rbp + 0x788]
xor rcx, rbp
call fcn.1800e28e0
lea rsp, [rbp + 0x790]
pop rdi
pop rsi
pop rbp
ret