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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov r12, rdx
mov qword [rsp + 0x100], rcx
mov edx, r8d
mov rcx, r12
mov ebp, r8d
call fcn.00479550
test eax, eax
jne 0x437a31
cmp ebp, 0x20
jle 0x437c40
lea eax, [rbp - 0x21]
mov r14, qword [rsp + 0x100]
lea rbx, [rsp + 0x60]
lea r13, [rsp + 0x70]
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x40]
shr eax, 5
mov dword [rsp + 0x110], ebp
mov rbp, r12
mov dword [rsp + 0x3c], eax
shl rax, 5
lea r15, [r12 + rax + 0x20]
nop word cs:[rax + rax]
mov eax, dword [rbp]
mov r8, r13
mov rdx, rbx
mov rcx, rdi
add rbp, 0x20
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x44], eax
mov eax, dword [rbp - 0x18]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp - 0x14]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbp - 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0xc]
mov dword [rsp + 0x54], eax
mov eax, dword [rbp - 8]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp - 4]
mov dword [rsp + 0x5c], eax
call fcn.00509080
mov r8, rdi
mov rdx, rsi
mov rcx, rsi
call fcn.00509080
mov ecx, dword [rsp + 0x40]
call fcn.004793e0
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + 0x48], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x4c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x50], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x54], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x58], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x5c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x60], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x64], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x6c]
mov dword [rsp + 0x68], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x6c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x70], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x74], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x78], eax
call fcn.004793e0
mov dword [rsp + 0x28], 0x40
mov qword [rsp + 0x20], r13
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, r14
mov dword [rsp + 0x7c], eax
call fcn.00436840
cmp r15, rbp
jne 0x437730
mov r14d, dword [rsp + 0x3c]
mov ebp, dword [rsp + 0x110]
add r14d, 1
lea eax, [r14*8]
shl r14d, 5
sub ebp, r14d
cdqe
lea r11, [r12 + rax*4]
lea rax, [rax*4 + 4]
lea r10, [rax + 4]
lea r9, [rax + 8]
lea r8, [rax + 0xc]
lea rcx, [rax + 0x10]
lea rdx, [rax + 0x14]
lea r15, [rax + 0x18]
mov eax, dword [r12 + rax]
mov r11d, dword [r11]
mov dword [rsp + 0x44], eax
mov eax, dword [r12 + r10]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x48], eax
mov eax, dword [r12 + r9]
mov dword [rsp + 0x4c], eax
mov eax, dword [r12 + r8]
mov r8, r13
mov dword [rsp + 0x50], eax
mov eax, dword [r12 + rcx]
mov rcx, rdi
mov dword [rsp + 0x54], eax
mov eax, dword [r12 + rdx]
mov rdx, rbx
mov dword [rsp + 0x58], eax
mov eax, dword [r12 + r15]
mov dword [rsp + 0x5c], eax
call fcn.00509080
mov r8, rdi
mov rdx, rsi
mov rcx, rsi
call fcn.00509080
mov ecx, dword [rsp + 0x40]
call fcn.004793e0
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + 0x48], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x4c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x50], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x54], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x58], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x5c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x60], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x64], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x6c]
mov dword [rsp + 0x68], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x6c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x70], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x74], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x78], eax
call fcn.004793e0
add ebp, ebp
mov dword [rsp + 0x7c], eax
jne 0x437a10
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x100]
mov dword [rsp + 0x28], ebp
mov r9, rbx
mov qword [rsp + 0x20], r13
mov r8, rdi
mov rdx, rsi
call fcn.00436840
jmp 0x4379f4
lea rdi, [rsp + 0x70]
lea rbx, [rsp + 0x60]
lea r14, [rdi + 0x20]
lea r13, [rdi + 0x10]
mov rcx, rbx
call fcn.004795e0
nop dword [rax + rax]
mov edx, ebp
mov rcx, rbx
call fcn.004795f0
test eax, eax
je 0x4379f4
mov dword [rsp + 0x28], 0x40
mov qword [rsp + 0x20], rdi
mov r9d, 0x100
mov r8d, ebp
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
call fcn.004797c0
cmp eax, 0xffffffff
mov esi, eax
je 0x437c30
mov ecx, dword [rsp + 0x70]
call fcn.004793e0
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x70], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x74], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x78], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x7c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x84]
mov dword [rsp + 0x80], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x88]
mov dword [rsp + 0x84], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x8c]
mov dword [rsp + 0x88], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x8c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x94]
mov dword [rsp + 0x90], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x98]
mov dword [rsp + 0x94], eax
call fcn.004793e0
mov ecx, dword [rsp + 0x9c]
mov dword [rsp + 0x98], eax
call fcn.004793e0
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x9c], eax
call fcn.004793e0
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + 0xa0], eax
call fcn.004793e0
mov ecx, dword [rsp + 0xa8]
mov dword [rsp + 0xa4], eax
call fcn.004793e0
mov ecx, dword [rsp + 0xac]
mov dword [rsp + 0xa8], eax
call fcn.004793e0
test esi, esi
mov dword [rsp + 0xac], eax
je 0x437a50
lea rax, [rdi + 0x30]
mov rcx, qword [rsp + 0x100]
mov dword [rsp + 0x28], esi
mov r9, r14
mov r8, r13
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.00436840
jmp 0x437a50
mov rax, qword [rsp + 0x100]
mov dword [rax + 0x54], esi
jmp 0x4379f4
mov r11, r12
mov r15d, 0x1c
mov edx, 0x18
mov ecx, 0x14
mov r8d, 0x10
mov r9d, 0xc
mov r10d, 8
mov eax, 4
lea rbx, [rsp + 0x60]
lea r13, [rsp + 0x70]
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x40]
jmp 0x4378c4