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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x260], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov r12, rcx
call fcn.0046ff80
nop
lea rax, [0x00503d48]
mov qword [r12], rax
lea rax, [0x00504030]
mov qword [r12 + 0xf0], rax
lea rcx, [r12 + 0x300]
mov qword [rsp + 0x2b8], rcx
call fcn.004684c0
nop
lea rcx, [r12 + 0x8b8]
call fcn.00495480
lea rdi, [0x004ec168]
mov qword [r12 + 0x8b8], rdi
lea rcx, [r12 + 0x960]
call fcn.00495480
mov qword [r12 + 0x960], rdi
lea rcx, [r12 + 0xa08]
call fcn.00495480
mov qword [r12 + 0xa08], rdi
lea rcx, [r12 + 0xab0]
call fcn.00495480
lea r15, [0x004ebea8]
mov qword [r12 + 0xab0], r15
lea rcx, [r12 + 0xb58]
call fcn.00464de0
nop
lea rcx, [r12 + 0xc70]
call fcn.00495480
mov qword [r12 + 0xc70], r15
mov qword [r12 + 0xd20], 0
lea rax, [0x004ed8d0]
mov qword [r12 + 0xd18], rax
lea rcx, [r12 + 0xd28]
call fcn.00495480
mov qword [r12 + 0xd28], r15
lea rcx, [r12 + 0xdd0]
call fcn.00495480
lea rbp, [0x004eccd8]
mov qword [r12 + 0xdd0], rbp
lea rcx, [r12 + 0xe78]
call fcn.00495480
mov qword [r12 + 0xe78], r15
lea rcx, [r12 + 0xf20]
call fcn.00495480
mov qword [r12 + 0xf20], rbp
lea rcx, [r12 + 0xfc8]
call fcn.00495480
mov qword [r12 + 0xfc8], r15
lea rcx, [r12 + 0x1070]
call fcn.00495480
mov qword [r12 + 0x1070], rbp
lea rcx, [r12 + 0x1118]
call fcn.00495480
mov qword [r12 + 0x1118], r15
lea rcx, [r12 + 0x11c0]
call fcn.00495480
mov qword [r12 + 0x11c0], rbp
lea rcx, [r12 + 0x1268]
call fcn.00495480
mov qword [r12 + 0x1268], r15
lea rcx, [r12 + 0x1310]
call fcn.00495480
mov qword [r12 + 0x1310], rbp
lea rcx, [r12 + 0x13b8]
call fcn.00495480
mov qword [r12 + 0x13b8], r15
lea rcx, [r12 + 0x1460]
call fcn.00495480
mov qword [r12 + 0x1460], rbp
lea rcx, [r12 + 0x1508]
call fcn.00495480
mov qword [r12 + 0x1508], r15
lea rcx, [r12 + 0x15b0]
call fcn.00495480
mov qword [r12 + 0x15b0], rbp
lea rcx, [r12 + 0x1658]
call fcn.00495480
mov qword [r12 + 0x1658], r15
lea rcx, [r12 + 0x1700]
call fcn.00495480
mov qword [r12 + 0x1700], rbp
lea rcx, [r12 + 0x17a8]
call fcn.00495480
mov qword [r12 + 0x17a8], r15
lea r14, [r12 + 0x1850]
mov rcx, r14
call fcn.00495480
mov qword [r14], rbp
lea rsi, [r12 + 0x18f8]
mov rcx, rsi
call fcn.00495480
mov qword [rsi], r15
lea rbx, [r12 + 0x19a0]
mov rcx, rbx
call fcn.00495480
mov qword [rbx], rbp
lea rcx, [r12 + 0x1a48]
call fcn.00495480
mov qword [r12 + 0x1a48], r15
lea r13, [r12 + 0x1af0]
mov rcx, r13
call fcn.00495480
mov qword [r13], rbp
lea rcx, [r12 + 0x1b98]
call fcn.00495480
mov qword [r12 + 0x1b98], r15
lea rcx, [r12 + 0x1c40]
call fcn.00495480
mov qword [r12 + 0x1c40], rbp
lea r15, [r12 + 0x1ce8]
mov rcx, r15
call fcn.00495480
lea rax, [0x004ebea8]
mov qword [r15], rax
lea rbp, [r12 + 0x1d90]
mov rcx, rbp
call fcn.00495480
lea rax, [0x004eccd8]
mov qword [rbp], rax
lea rcx, [r12 + 0x1e38]
call fcn.00495480
lea rax, [0x004ebea8]
mov qword [r12 + 0x1e38], rax
lea rcx, [r12 + 0x1ee0]
call fcn.00495480
lea rax, [0x004eccd8]
mov qword [r12 + 0x1ee0], rax
add r12, 0x1f88
mov rcx, r12
call fcn.00495480
lea rax, [0x004ebea8]
mov qword [r12], rax
mov rdi, qword [rsp + 0x2b0]
add rdi, 0x2030
mov rcx, rdi
call fcn.00495480
lea rax, [0x004eccd8]
mov qword [rdi], rax
lea rcx, [0x004fe788]
mov rax, qword [rsp + 0x2b0]
mov qword [rax + 0x20d8], rcx
xor ecx, ecx
mov qword [rax + 0x20e0], rcx
mov qword [rax + 0x20e8], rcx
mov dword [rax + 0x20f0], ecx
mov dword [rax + 0x20f4], ecx
mov dword [rax + 0x20f8], ecx
mov dword [rax + 0x20fc], ecx
mov byte [rax + 0x2100], cl
mov byte [rax + 0x2101], cl
mov dword [rax + 0x2104], 0xffffffff
mov qword [rax + 0x2108], rcx
mov dword [rax + 0x2110], ecx
mov qword [rax + 0x2118], rcx
lea rcx, [0x0053f8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x0053f8e8], 1
lea rcx, [0x0053f8c0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r11, [0x004fe748]
mov rcx, qword [rsp + 0x2b0]
mov qword [rcx + 0x20d8], r11
xor edx, edx
mov qword [rcx + 0x2120], rdx
mov qword [rcx + 0x2f8], rdx
mov qword [rcx + 0x898], rdx
mov dword [rcx + 0x8a8], edx
mov dword [rcx + 0x8ac], edx
mov qword [rcx + 0x8a0], rdx
mov dword [rcx + 0x8b0], edx
mov dword [rcx + 0x8b4], edx
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], edx
lea rax, [rcx + 0xd28]
mov qword [rsp + 0x48], rax
lea rax, [rcx + 0xdd0]
mov qword [rsp + 0x50], rax
lea rax, [rcx + 0xe78]
mov qword [rsp + 0x58], rax
lea rax, [rcx + 0xf20]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x6c], edx
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x74], edx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x7c], edx
mov dword [rsp + 0x80], edx
mov dword [rsp + 0x84], edx
mov dword [rsp + 0x88], edx
mov dword [rsp + 0x8c], edx
lea rax, [rcx + 0x17a8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rbx
mov dword [rsp + 0xb0], 4
mov dword [rsp + 0xb4], edx
mov dword [rsp + 0xb8], edx
mov dword [rsp + 0xbc], edx
mov dword [rsp + 0xc0], edx
mov dword [rsp + 0xc4], edx
mov dword [rsp + 0xc8], edx
mov dword [rsp + 0xcc], edx
mov dword [rsp + 0xd0], edx
mov dword [rsp + 0xd4], edx
lea rax, [rcx + 0xfc8]
mov qword [rsp + 0xd8], rax
lea rax, [rcx + 0x1070]
mov qword [rsp + 0xe0], rax
lea rax, [rcx + 0x1118]
mov qword [rsp + 0xe8], rax
lea rax, [rcx + 0x11c0]
mov qword [rsp + 0xf0], rax
mov r10d, 8
mov dword [rsp + 0xf8], r10d
mov dword [rsp + 0xfc], edx
mov dword [rsp + 0x100], edx
mov dword [rsp + 0x104], edx
mov dword [rsp + 0x108], edx
mov dword [rsp + 0x10c], edx
mov dword [rsp + 0x110], edx
mov dword [rsp + 0x114], edx
mov dword [rsp + 0x118], edx
mov dword [rsp + 0x11c], edx
mov qword [rsp + 0x120], rdx
mov qword [rsp + 0x128], rdx
lea rax, [rcx + 0x1a48]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], r13
mov dword [rsp + 0x140], 0x200
mov dword [rsp + 0x144], edx
mov dword [rsp + 0x148], edx
mov dword [rsp + 0x14c], edx
mov dword [rsp + 0x150], edx
mov dword [rsp + 0x154], edx
mov dword [rsp + 0x158], edx
mov dword [rsp + 0x15c], edx
mov dword [rsp + 0x160], edx
mov dword [rsp + 0x164], edx
lea rax, [rcx + 0x1268]
mov qword [rsp + 0x168], rax
lea rax, [rcx + 0x1310]
mov qword [rsp + 0x170], rax
lea rax, [rcx + 0x13b8]
mov qword [rsp + 0x178], rax
lea rax, [rcx + 0x1460]
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x188], 0x400
mov dword [rsp + 0x18c], edx
mov dword [rsp + 0x190], edx
mov dword [rsp + 0x194], edx
mov dword [rsp + 0x198], edx
mov dword [rsp + 0x19c], edx
mov dword [rsp + 0x1a0], edx
mov dword [rsp + reloc.OLEAUT32.dll_OleTranslateColor], edx
mov dword [rsp + 0x1a8], edx
mov dword [rsp + 0x1ac], edx
lea rax, [rcx + 0x1b98]
mov qword [rsp + 0x1b0], rax
lea rax, [rcx + 0x1c40]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], r15
mov qword [rsp + 0x1c8], rbp
mov dword [rsp + 0x1d0], reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x1d4], edx
mov dword [rsp + 0x1d8], edx
mov dword [rsp + 0x1dc], edx
mov dword [rsp + 0x1e0], edx
mov dword [rsp + 0x1e4], edx
mov dword [rsp + 0x1e8], edx
mov dword [rsp + 0x1ec], edx
mov dword [rsp + 0x1f0], edx
mov dword [rsp + 0x1f4], edx
lea rax, [rcx + 0x1508]
mov qword [rsp + 0x1f8], rax
lea rax, [rcx + 0x15b0]
mov qword [rsp + 0x200], rax
lea rax, [rcx + 0x1658]
mov qword [rsp + 0x208], rax
lea rax, [rcx + 0x1700]
mov qword [rsp + 0x210], rax
mov dword [rsp + 0x218], 0x20
mov dword [rsp + 0x21c], edx
mov dword [rsp + 0x220], edx
mov dword [rsp + 0x224], edx
mov dword [rsp + 0x228], edx
mov dword [rsp + 0x22c], edx
mov dword [rsp + 0x230], edx
mov dword [rsp + 0x234], edx
mov dword [rsp + 0x238], edx
mov dword [rsp + 0x23c], edx
lea rax, [rcx + 0x1e38]
mov qword [rsp + 0x240], rax
lea rax, [rcx + 0x1ee0]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x250], r12
mov qword [rsp + 0x258], rdi
lea r8, [rsp + 0x48]
mov r11, qword [rsp + 0x2b8]
nop
nop
nop
mov r9d, dword [r8 - 0x28]
xor ecx, ecx
lea rax, [r11 + 0xb0]
nop
cmp dword [rax], r9d
je 0x46be98
add edx, 1
add rcx, 1
add rax, 0x48
cmp rcx, 8
jl 0x46be80
jmp 0x46becb
movsxd rax, edx
lea rcx, [rax + rax*8]
lea rdx, [r11 + rcx*8 + 0xb0]
test rdx, rdx
je 0x46becb
mov rax, qword [r8]
mov qword [rdx + 0x28], rax
mov rax, qword [r8 + 8]
mov qword [rdx + 0x30], rax
mov rax, qword [r8 + 0x10]
mov qword [rdx + 0x38], rax
mov rax, qword [r8 + 0x18]
mov qword [rdx + 0x40], rax
add r8, 0x48
sub r10, 1
mov edx, 0
jne 0x46be70
mov rax, qword [rsp + 0x2b0]
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret