Function at 0x180045490
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 [0x180157500]
xor rax, rbp
mov qword [rbp + 0x788], rax
lea rcx, [0x18016d0a2]
call fcn.180109720
cmp qword [rbp + 0x7b0], 0
jne 0x1800454f0
xor eax, eax
jmp 0x180045a39
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 0x180045567
xor eax, eax
jmp 0x180045a39
cmp qword [rbp + 0x7b8], 0xffff
ja 0x180045760
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 0x180045760
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cmp dword [rbp + 0x104], eax
jae 0x180045760
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 0x180045634
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
jne 0x18004566e
xor eax, eax
jmp 0x180045a39
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.180045ce0
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 0x180045706
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.180045bb0
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x7b0]
cmp qword [rbp + 0x298], rax
jne 0x180045748
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 0x180045748
xor eax, eax
jmp 0x180045a39
mov rdx, qword [rbp + 0x278]
mov rcx, qword [rbp + 0x298]
call fcn.180045490
jmp 0x180045a39
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 0x18004586d
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 0x180045807
inc rax
test dl, dl
jne 0x1800457f4
xor eax, eax
jmp 0x18004580c
sbb eax, eax
or eax, 1
mov dword [rbp + 0x374], eax
cmp dword [rbp + 0x374], 0
jge 0x18004582b
mov eax, dword [rbp + 0x314]
inc eax
mov dword [rbp + 0x2d4], eax
jmp 0x180045868
cmp dword [rbp + 0x374], 0
jle 0x180045844
mov eax, dword [rbp + 0x314]
dec eax
mov dword [rbp + 0x2b4], eax
jmp 0x180045868
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 0x18004586d
jmp 0x180045782
movzx eax, word [rbp + 0x2f4]
test eax, eax
jne 0x18004587f
xor eax, eax
jmp 0x180045a39
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 0x180045a29
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
cmp dword [rbp + 0x394], eax
jae 0x180045a29
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 0x180045903
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x4e8], rax
cmp qword [rbp + 0x4e8], 0
jne 0x18004593d
xor eax, eax
jmp 0x180045a39
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.180045ce0
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 0x1800459d5
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.180045bb0
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x7b0]
cmp qword [rbp + 0x528], rax
jne 0x180045a14
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 0x180045a14
xor eax, eax
jmp 0x180045a39
mov rdx, qword [rbp + 0x508]
mov rcx, qword [rbp + 0x528]
call fcn.180045490
jmp 0x180045a39
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, [0x180120640]
call fcn.1801095c4
mov rax, rdi
mov rcx, qword [rbp + 0x788]
xor rcx, rbp
call fcn.1801097f0
lea rsp, [rbp + 0x790]
pop rdi
pop rsi
pop rbp
ret