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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 9]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x12]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x48]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x34]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, dword [rsp + 0xd8]
jg 0x180053631
mov eax, dword [rsp + 0x34]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x34]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
cmp dword [rsp + 0x2c], eax
jle 0x180053220
mov ecx, 0x10002
call fcn.1800f7220
jmp 0x180053963
cmp dword [rsp + 0x2c], 0
je 0x180053631
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
movsxd rcx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
cmp dword [rsp + 0x38], eax
jle 0x18005328a
mov ecx, 0x10005
call fcn.1800f7220
jmp 0x180053963
cmp dword [rsp + 0x38], 0
je 0x1800532c0
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x180053631
mov eax, dword [rsp + 0x38]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x180053631
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x2c]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x2c]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x34]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x34]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x58], eax
jl 0x180053399
mov ecx, 0x1000d
call fcn.1800f7220
jmp 0x180053963
cmp dword [rsp + 0x38], 0
je 0x1800534b4
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x38]
jle 0x1800533c5
mov ecx, 0x10010
call fcn.1800f7220
jmp 0x180053963
mov eax, dword [rsp + 0x38]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x38]
add ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x180053432
mov ecx, 0x10012
call fcn.1800f7220
jmp 0x180053963
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
cdqe
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x2c]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x2c]
add r8d, edx
mov edx, r8d
add edx, dword [rsp + 0x44]
movsxd rdx, edx
mov r8, qword [rsp + 0x20]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x90], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memmove]
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x1800534d5
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x1800534d5
mov ecx, 0x10016
call fcn.1800f7220
jmp 0x180053963
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0xa0], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memmove]
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x180053557
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x50], rax
jae 0x18005362c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x50]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x30], eax
jge 0x1800535e0
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
jmp 0x180053627
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x30], eax
jge 0x180053627
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
jmp 0x180053549
jmp 0x180053886
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x5c], 0
jmp 0x18005365b
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x5c], eax
jge 0x180053874
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x5c]
lea eax, [rax + rcx*2]
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jl 0x1800536ca
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x30], eax
jle 0x1800536d9
mov ecx, 0x10032
call fcn.1800f7220
jmp 0x180053963
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd0]
call qword [rax + 0x78]
movzx eax, ax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x28], eax
jl 0x180053735
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x40]
jle 0x180053744
mov ecx, 0x10038
call fcn.1800f7220
jmp 0x180053963
mov eax, dword [rsp + 0x28]
sar eax, 8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
movzx edx, byte [rsp + 0x28]
mov byte [rcx + rax], dl
cmp qword [rsp + 0x78], 0
jne 0x18005383c
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jne 0x18005378d
jmp 0x180053651
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x48]
mov rcx, qword [rax]
call fcn.180048470
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x34]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx]
shl eax, 8
mov ecx, dword [rsp + 0x34]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 1
movzx ecx, byte [rcx + rdx]
or eax, ecx
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x64]
cdqe
movsxd rcx, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x64]
mov r8, qword [rsp + 0x78]
add r8, rdx
mov rdx, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x4c]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x88]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x180053651
mov eax, dword [rsp + 0x34]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x34]
add eax, 7
cdqe
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
add eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xd0]
cmp eax, dword [rcx + 0x14]
je 0x1800538bc
mov ecx, 0x1004d
call fcn.1800f7220
jmp 0x180053963
mov eax, dword [rsp + 0x28]
sar eax, 8
mov ecx, dword [rsp + 0x34]
add ecx, 5
movsxd rcx, ecx
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov edx, 1
imul rdx, rdx, 0
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x34]
add eax, 5
cdqe
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 1
movzx edx, byte [rsp + 0x28]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x34]
inc eax
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x34]
add eax, 2
cdqe
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xa8], rax
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0xa8]
rep stosb byte [rdi], al
xor eax, eax
add rsp, 0xb8
pop rdi
pop rsi
ret