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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x28], 0xffffffff
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x149c], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x14a0], 0x23d
mov dword [rsp + 0x20], 0
jmp 0x1800459c5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jge 0x180045a58
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*4]
test eax, eax
je 0x180045a42
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x149c], ecx
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4 + 0xba8], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax + 0x14a4], 0
jmp 0x180045a53
movsxd rax, dword [rsp + 0x20]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*4 + 2], cx
jmp 0x1800459bb
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x149c], 2
jge 0x180045b58
cmp dword [rsp + 0x28], 2
jge 0x180045a88
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
jmp 0x180045a90
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
inc eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x149c], ecx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4 + 0xba8], edx
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov ecx, 1
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*4], cx
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax + 0x14a4], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1700]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1700], eax
cmp qword [rsp + 0x60], 0
je 0x180045b53
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*4 + 2]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1704]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1704], eax
jmp 0x180045a58
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x20], eax
jmp 0x180045b8a
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jl 0x180045baa
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180046380
jmp 0x180045b80
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x24], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xba8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x149c]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov eax, dword [r8 + rax*4 + 0xba8]
mov dword [rdx + rcx + 0xba8], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x149c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x149c], eax
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180046380
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xba8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14a0]
dec eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x14a0], ecx
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax*4 + 0xba8], edx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14a0]
dec eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x14a0], ecx
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4 + 0xba8], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*4]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx*4]
add eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov word [rdx + rcx*4], ax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x14a4]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx + 0x14a4]
cmp eax, ecx
jl 0x180045d48
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x14a4]
mov dword [rsp + 0x54], eax
jmp 0x180045d61
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x14a4]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
inc eax
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx + 0x14a4], al
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*4 + 2], dx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*4 + 2], dx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax + 0xba8], edx
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180046380
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x149c], 2
jge 0x180045bb2
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14a0]
dec eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x14a0], ecx
movsxd rax, dword [rsp + 0x58]
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov ecx, dword [r8 + rcx + 0xba8]
mov dword [rdx + rax*4 + 0xba8], ecx
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.180045fa0
mov rax, qword [rsp + 0x80]
add rax, 0xb88
mov r8, rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.180045e90
add rsp, 0x78
ret