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

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x388
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0x378], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 0
mov edx, 1
lea rcx, [rsp + 0x330]
call fcn.180019030
lea rcx, [rsp + 0x330]
call fcn.18001bf00
nop
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x44], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
movsxd rdx, dword [rsp + 0x44]
lea r8, [0x180087a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087a70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x320]
call fcn.180019030
lea rcx, [rsp + 0x320]
call fcn.180011200
nop
mov edx, 1
lea rcx, [rsp + 0x348]
call fcn.180019030
lea rcx, [rsp + 0x348]
call fcn.18001bf00
nop
mov rcx, qword [rsp + 0x3a8]
call fcn.180063060
mov rax, qword [rsp + 0x3a0]
cmp qword [rax + 0x50], 0
je 0x180061722
mov eax, 6
mov word [rsp + 0x2c], ax
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180087a70]
cmp dword [rcx + rax*4], 1
jne 0x180061689
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x2c]
lea rdx, [0x180087a70]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x3a0]
add rax, 0x50
mov rcx, rax
call fcn.1800324e0
mov rdx, rax
lea rcx, [rsp + 0x360]
call fcn.180029d70
nop
mov r8, 0xffffffffffffffff
mov rdx, qword [str.GIAX]
lea rcx, [rsp + 0x2b0]
call fcn.18001be50
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.1800324c0
lea r8, [rsp + 0x360]
mov rdx, rax
mov rcx, qword [rsp + 0x3a8]
call fcn.18002c040
nop
lea rcx, [rsp + 0x2b0]
call fcn.180011730
nop
lea rcx, [rsp + 0x360]
call fcn.18002a600
mov r8, 0xffffffffffffffff
mov rdx, qword [0x18008ae80]
lea rcx, [rsp + 0x330]
call fcn.1800215b0
movzx eax, byte [rsp + 0x3b0]
test eax, eax
je 0x180061798
lea rdx, [rsp + 0x1d8]
lea rcx, [0x1800d3630]
call fcn.180066de0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x330]
call fcn.180020f20
nop
lea rcx, [rsp + 0x1d8]
call fcn.180011730
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x60], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
movsxd rdx, dword [rsp + 0x60]
lea r8, [0x180087a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087a70]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x3a0]
add rax, 0xe0
xor edx, edx
mov rcx, rax
call fcn.1800323a0
movzx eax, al
test eax, eax
jne 0x180061892
mov rax, qword [rsp + 0x3a0]
add rax, 0xe0
mov rcx, rax
call fcn.1800324e0
mov rdx, rax
lea rcx, [rsp + 0x158]
call fcn.180029d70
nop
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x330]
call fcn.1800324c0
lea r8, [rsp + 0x158]
mov rdx, rax
mov rcx, qword [rsp + 0x3a8]
call fcn.18002c040
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x180061892
mov dword [rsp + 0x3c], 0
jmp 0x18006189a
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x1800618c0
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0x158]
call fcn.18002a600
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x1800618df
mov r8d, dword [rsp + 0x20]
lea rdx, [0x18008b5a0]
mov ecx, 4
call fcn.180040a70
lea rcx, [rsp + 0x320]
call fcn.1800012a0
mov r8, rax
lea rdx, [0x180077470]
xor ecx, ecx
call fcn.180019610
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x18006191e
xor edx, edx
lea rcx, [rsp + 0x320]
call fcn.1800323a0
movzx eax, al
test eax, eax
je 0x18006199d
mov r8d, dword [rsp + 0x20]
lea rdx, [0x18008b5c0]
mov ecx, 4
call fcn.180040a70
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x50]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180061963
xor r9d, r9d
lea r8, [0x18008b5e8]
lea rdx, [0x18008b404]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x5c], 0x80004005
lea rcx, [rsp + 0x348]
call fcn.180011730
nop
lea rcx, [rsp + 0x320]
call fcn.18002a520
nop
lea rcx, [rsp + 0x330]
call fcn.180011730
mov eax, dword [rsp + 0x5c]
jmp 0x180062068
mov r8, 0xffffffffffffffff
mov rdx, qword [0x18008acb0]
lea rcx, [rsp + 0x330]
call fcn.1800215b0
lea rcx, [rsp + 0x320]
call fcn.1800324e0
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.180029d70
nop
lea rcx, [rsp + 0x330]
call fcn.1800324c0
lea r8, [rsp + 0x178]
mov rdx, rax
mov rcx, qword [rsp + 0x3a8]
call fcn.18002c040
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x180061a10
mov dword [rsp + 0x38], 1
jmp 0x180061a18
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x28], al
lea rcx, [rsp + 0x178]
call fcn.18002a600
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x180061aef
mov dword [rsp + 0x58], 1
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180061a6a
xor r9d, r9d
lea r8, [0x18008b5f0]
lea rdx, [0x18008b444]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov r8d, dword [rsp + 0x20]
lea rdx, [0x18008b5f8]
mov ecx, 4
call fcn.180040a70
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x48], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
movsxd rdx, dword [rsp + 0x48]
lea r8, [0x180087a70]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087a70]
mov dword [rdx + rcx], eax
lea rdx, [rsp + 0x280]
lea rcx, [0x1800d3630]
call fcn.180066de0
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x330]
call fcn.180020f20
nop
lea rcx, [rsp + 0x280]
call fcn.180011730
lea rcx, [rsp + 0x320]
call fcn.1800324e0
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.180029d70
nop
lea rcx, [rsp + 0x330]
call fcn.1800324c0
lea r8, [rsp + 0x140]
mov rdx, rax
mov rcx, qword [rsp + 0x3a8]
call fcn.18002c040
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x180061b96
mov dword [rsp + 0x40], 1
jmp 0x180061b9e
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x140]
call fcn.18002a600
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x180061bd3
mov r8d, dword [rsp + 0x20]
lea rdx, [0x18008b620]
mov ecx, 4
call fcn.180040a70
mov edx, 1
lea rcx, [rsp + 0x328]
call fcn.180019050
lea rcx, [rsp + 0x208]
call fcn.18005f800
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1800324c0
mov rdx, rax
lea rcx, [rsp + 0x328]
call fcn.180029d10
nop
lea rcx, [rsp + 0x208]
call fcn.180011730
mov dl, 1
lea rcx, [rsp + 0x1a8]
call fcn.180029e40
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x2e0]
mov rdi, rax
mov rsi, qword [rsp + 0xe0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x320]
call fcn.1800324e0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x3b8]
call fcn.1800012a0
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x240]
lea rdx, [rsp + 0x2e0]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x328]
call fcn.1800324e0
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
mov qword [rsp + 0x80], rcx
mov rdx, qword [rsp + 0x110]
mov r9, rdx
lea r8, [rsp + 0x240]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x38]
nop
lea rcx, [rsp + 0x1a8]
call fcn.18002a600
mov rcx, qword [rsp + 0x3b8]
call fcn.18002cfe0
test eax, eax
jne 0x180062025
lea rcx, [rsp + 0x1f0]
call fcn.18005f700
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1800324c0
xor r9d, r9d
lea r8, [0x18008b54c]
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.18005fcb0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1800324c0
mov rdx, rax
mov rcx, qword [rsp + 0x3b8]
call fcn.18002a870
nop
lea rcx, [rsp + 0x1c0]
call fcn.180011730
nop
lea rcx, [rsp + 0x1f0]
call fcn.180011730
mov rcx, qword [rsp + 0x3b8]
call fcn.18002cfe0
test eax, eax
je 0x180061f90
mov dl, 1
lea rcx, [rsp + 0x298]
call fcn.180029e40
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x220]
mov rdi, rax
mov rsi, qword [rsp + 0xe8]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x320]
call fcn.1800324e0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x260]
lea rcx, [rsp + 0x220]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x3b8]
call fcn.1800324e0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x328]
call fcn.1800324e0
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov qword [rsp + 0x108], rcx
lea r9, [rsp + 0x260]
mov rdx, qword [rsp + 0xf8]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x108]
call qword [rax + 0x40]
nop
lea rcx, [rsp + 0x298]
call fcn.18002a600
mov rcx, qword [rsp + 0x3b8]
call fcn.18002c010
mov dl, 1
lea rcx, [rsp + 0x190]
call fcn.180029e40
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x2c8]
mov rdi, rax
mov rsi, qword [rsp + 0x90]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x320]
call fcn.1800324e0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x3b8]
call fcn.1800012a0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x300]
lea rdx, [rsp + 0x2c8]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x328]
call fcn.1800324e0
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov qword [rsp + 0xf0], rcx
mov rdx, qword [rsp + 0x88]
mov r9, rdx
lea r8, [rsp + 0x300]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x38]
nop
lea rcx, [rsp + 0x190]
call fcn.18002a600
jmp 0x180062025
lea rdx, [0x18008b658]
mov ecx, 4
call fcn.180040a70
mov eax, SafeArrayUnaccessData
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087a70]
cmp dword [rcx + rax*4], 1
jne 0x180061fe0
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087a70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180087a70]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x4c], 0x80004005
lea rcx, [rsp + 0x328]
call fcn.180010bd0
nop
lea rcx, [rsp + 0x348]
call fcn.180011730
nop
lea rcx, [rsp + 0x320]
call fcn.18002a520
nop
lea rcx, [rsp + 0x330]
call fcn.180011730
mov eax, dword [rsp + 0x4c]
jmp 0x180062068
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x328]
call fcn.180010bd0
nop
lea rcx, [rsp + 0x348]
call fcn.180011730
nop
lea rcx, [rsp + 0x320]
call fcn.18002a520
nop
lea rcx, [rsp + 0x330]
call fcn.180011730
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x378]
xor rcx, rsp
call fcn.18004d370
add rsp, 0x388
pop rdi
pop rsi
ret