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

Disassembly:
sub esp, 0x340
mov eax, dword [rsp + 0x348]
push rbx
mov ebx, dword [rsp + 0x348]
add eax, 0x528
push rbp
push rsi
xor esi, esi
mov dword [rsp + 0x30], eax
mov ebp, dword [rax + 0x3c]
add ebp, eax
mov dword [rsp + 0x14], esi
push rsi
mov dword [rsp + 0x10], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], ebp
call qword [rbx + 0x38]
mov edx, eax
mov ax, word [rbp + 4]
mov ecx, dword [rdx + 0x3c]
cmp ax, word [rcx + rdx + 4]
jne 0x140056b58
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], esi
mov eax, dword [rbp + 0xa4]
mov dword [rsp + 0x20], eax
test eax, eax
jne 0x140056363
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0xc], eax
push rdi
push 3
xor ecx, ecx
lea edi, [rbx + 0x625]
pop rdx
cmp byte [r15], 0
push rsi
jne 0x14005639d
push 0x8000000
push 0x40
lea eax, [rsp + 0x58]
push rax
push rsi
push 0xf001f
lea eax, [rsp + 0x5c]
push rax
call qword [rbx + 0x120]
test eax, eax
jne 0x140056b57
jmp 0x140056417
push rsi
push rdx
push rsi
push rcx
push 0xffffffff80000000
push rdi
call qword [rbx + 0x60]
mov edi, eax
cmp edi, 0xffffffff
je 0x140056b57
test edi, edi
je 0x140056b57
lea eax, [rsp + 0x3c]
xorps xmm0, xmm0
push rax
push rdi
movlpd qword [rsp + 0x44], xmm0
call qword [rbx + 0x64]
test eax, eax
je 0x140056b57
mov eax, dword [rbp + 0x50]
cmp eax, dword [rsp + 0x3c]
ja 0x140056b57
push rdi
push 0x1000000
push 2
pop rax
push rax
push rsi
push rsi
push 0xf001f
lea eax, [rsp + 0x5c]
push rax
call qword [rbx + 0x120]
push rdi
mov esi, eax
call qword [rbx + 0x90]
test esi, esi
jne 0x140056b57
lea edi, [rbx + 0x625]
push 4
pop rax
push rax
push rsi
push 2
pop rax
push rax
lea eax, [rsp + 0x34]
push rax
push rsi
push rsi
push rsi
lea eax, [rsp + 0x2c]
push rax
call qword [rbx + 0x70]
push rax
push qword [rsp + 0x68]
call qword [rbx + 0x124]
mov esi, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x10]
mov esi, dword [rsi + 0x3c]
add esi, ecx
mov dword [rsp + 0x1c], esi
test eax, eax
je 0x14005645b
cmp eax, 0x40000003
jne 0x140056b57
test ecx, ecx
je 0x140056b57
cmp byte [rdi], 0
je 0x1400564b2
lea eax, [rsp + 0x30]
push rax
push 4
pop rdi
push rdi
push qword [rsp + 0x30]
push rcx
call qword [rbx + 0x48]
push rdi
push 0x3000
push qword [rbp + 0x54]
push 0
call qword [rbx + 0x3c]
push qword [rbp + 0x54]
mov edi, eax
push qword [rsp + 0x14]
mov dword [rsp + 0x50], edi
push rdi
call fcn.1400575e0
push qword [rsp + 0x34]
push 0
push qword [rsp + 0x24]
call fcn.140057604
mov ecx, dword [rsp + 0x28]
add esp, 0x18
jmp 0x1400564ba
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x48], eax
push qword [rbp + 0x54]
push qword [rsp + 0x38]
push rcx
call fcn.1400575e0
mov eax, dword [rsp + 0x1c]
xor ecx, ecx
and dword [rsp + 0x20], 0
add esp, 0xc
mov dword [rsi + 0x34], eax
movzx eax, word [rsi + 0x14]
add eax, 0x18
add eax, esi
mov dword [rsp + 0x3c], eax
cmp cx, word [rsi + 6]
jae 0x14005652f
mov ebx, dword [rsp + 0x14]
lea edi, [rax + 0x10]
mov ebp, esi
push qword [rdi]
mov eax, dword [rdi + 4]
mov esi, dword [rdi - 4]
add eax, dword [rsp + 0x38]
add esi, dword [rsp + 0x14]
push rax
push rsi
call fcn.1400575e0
movzx eax, byte [rsi]
lea edi, [rdi + 0x28]
add esp, 0xc
mov dword [rdi - 0x30], eax
movzx eax, word [rbp + 6]
cmp ebx, r8d
jb 0x1400564f4
mov ebx, dword [rsp + 0x354]
mov ebp, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x1c]
mov edx, dword [rsp + 0x10]
mov edi, edx
sub edi, dword [rbp + 0x34]
cmp dword [rsp + 0x24], 0
je 0x140056605
test edi, edi
je 0x140056605
mov eax, dword [rsi + 0xa0]
lea ecx, [rax + rdx]
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
add eax, edx
mov dword [rsp + 0x20], ecx
cmp ecx, eax
jae 0x140056605
mov eax, dword [rcx + 4]
test eax, eax
je 0x140056605
lea esi, [rcx + 8]
jmp 0x1400565e7
movzx esi, word [rsi]
mov eax, dword [rsp + 0x20]
mov ecx, esi
and ecx, 0xfff
add ecx, dword [rax]
mov eax, dword [rsp + 0x1c]
cmp ecx, dword [rax + 0x50]
jae 0x1400565d7
shr si, 0xc
cmp si, 0xa
je 0x1400565a6
push 3
pop rax
cmp si, ax
jne 0x1400565ab
add dword [rcx + rdx], edi
jmp 0x1400565c8
xor eax, eax
cmp si, ax
jne 0x1400565ba
mov eax, edi
shr eax, 0x10
jmp 0x1400565c5
push 2
pop rax
cmp si, ax
jne 0x1400565ce
movzx eax, di
add dword [rcx + rdx], eax
mov edx, dword [rsp + 0x10]
jmp 0x1400565d7
test si, si
jne 0x140056af6
mov esi, dword [rsp + 0x14]
push 2
pop rcx
add esi, ecx
mov ecx, dword [rsp + 0x20]
mov eax, dword [rcx + 4]
add eax, ecx
mov dword [rsp + 0x14], esi
cmp esi, eax
jne 0x14005657a
mov eax, dword [rsp + 0x38]
mov ecx, esi
add eax, edx
mov dword [rsp + 0x20], esi
cmp esi, eax
jb 0x14005656a
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0x80]
test eax, eax
je 0x1400566db
lea esi, [rax + rdx]
cmp dword [rsi + 0xc], 0
mov dword [rsp + 0x18], esi
je 0x1400566db
mov eax, dword [rsi + 0xc]
add eax, edx
push rax
push rbx
call fcn.140056f72
mov edx, dword [rsp + 0x18]
mov edi, dword [rsi + 0x10]
mov dword [rsp + 0x40], eax
add edi, edx
mov eax, dword [rsi]
add eax, edx
mov dword [rsp + 0x28], edi
pop rcx
pop rcx
mov dword [rsp + 0x14], eax
mov ecx, dword [rax]
test ecx, ecx
je 0x1400566c6
mov ebp, dword [rsp + 0x38]
mov esi, dword [rsp + 0x358]
jns 0x14005666e
push rcx
push 0
push rbp
push rbx
call fcn.140057010
jmp 0x1400566a0
lea edi, [rdx + 2]
add edi, ecx
cmp dword [rsi + 4], 0
je 0x140056692
push rdi
push rbx
call fcn.140055913
pop rcx
pop rcx
test eax, eax
je 0x140056692
mov eax, dword [rbx + 0x108]
mov edi, dword [rsp + 0x20]
jmp 0x1400566a3
push 0
push rdi
push rbp
push rbx
call fcn.140057010
mov edi, dword [rsp + 0x30]
add esp, 0x10
mov dword [rdi], eax
mov eax, dword [rsp + 0x14]
mov edx, dword [rsp + 0x10]
push 4
pop rcx
add eax, ecx
add edi, ecx
mov dword [rsp + 0x14], eax
mov dword [rsp + 0x20], edi
mov ecx, dword [rax]
test ecx, ecx
jne 0x140056660
mov esi, dword [rsp + 0x18]
add esi, 0x14
mov dword [rsp + 0x18], esi
cmp dword [rsi + 0xc], 0
jne 0x140056628
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0xe0]
test eax, eax
je 0x140056779
lea esi, [rax + 4]
add esi, edx
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
je 0x140056779
add eax, edx
push rax
push rbx
call fcn.140056f72
mov edx, dword [rsp + 0x18]
mov dword [rsp + 0x40], eax
pop rcx
pop rcx
test eax, eax
je 0x140056768
mov edi, dword [rsi + 0xc]
mov ecx, dword [rsi + 8]
add edi, edx
add ecx, edx
mov dword [rsp + 0x14], ecx
mov eax, dword [rdi]
test eax, eax
je 0x140056768
mov ebp, dword [rsp + 0x38]
push 4
pop rsi
jns 0x140056734
xor ecx, ecx
jmp 0x140056739
lea ecx, [rdx + 2]
add ecx, eax
xor edx, edx
test eax, eax
cmovns eax, edx
push rax
push rcx
push rbp
push rbx
call fcn.140057010
mov ecx, dword [rsp + 0x24]
add edi, esi
add esp, 0x10
mov dword [rcx], eax
add ecx, esi
mov eax, dword [rdi]
mov edx, dword [rsp + 0x10]
mov dword [rsp + 0x14], ecx
test eax, eax
jne 0x14005672e
mov esi, dword [rsp + 0x18]
add esi, 0x20
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
jne 0x1400566fc
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x1c]
lea edi, [rsp + 0x54]
push 0x3e
pop rcx
mov esi, ebp
mov eax, dword [rax + 0x28]
rep movsd dword [rdi], dword [rsi]
mov edi, dword [rsp + 0x58]
add eax, edx
shr edi, 0x10
push 4
imul esi, edi, 0x28
push 0x3000
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x1c], edi
push rsi
push 0
call qword [rbx + 0x3c]
push rsi
push qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
push rax
call fcn.1400575e0
xor eax, eax
add esp, 0xc
cmp dword [rbx + 0x574], eax
jne 0x14005680b
cmp byte [rbx + 0x625], 0
jne 0x1400567f3
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x18]
call fcn.140057604
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x48]
call fcn.140057604
add esp, 0x18
jmp 0x14005680b
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14005680b
push qword [rbp + 0x54]
push rax
push qword [rsp + 0x18]
call fcn.1400575e0
add esp, 0xc
cmp byte [rbx + 0x625], 0
jne 0x14005686c
push qword [rsp + 0x10]
call qword [rbx + 0x70]
push rax
call qword [rbx + 0x128]
test eax, eax
jne 0x140056b57
mov eax, dword [rsp + 0x10]
xor ecx, ecx
cmp dword [rsp + 0x24], ecx
push 0x80
push rcx
push 2
cmovne eax, ecx
and dword [rsp + 0x34], ecx
mov dword [rsp + 0x1c], eax
pop rax
push rax
lea eax, [rsp + 0x34]
push rax
push rcx
push rcx
push rcx
lea eax, [rsp + 0x2c]
push rax
call qword [rbx + 0x70]
push rax
push qword [rsp + 0x68]
call qword [rbx + 0x124]
test eax, eax
jne 0x140056b57
lea eax, [rsp + 0x30]
push rax
push 8
push qword [rsp + 0x30]
push qword [rsp + 0x1c]
call qword [rbx + 0x48]
xor eax, eax
mov dword [rsp + 0x24], eax
test edi, edi
je 0x140056937
mov edi, dword [rsp + 0x18]
mov esi, dword [rsp + 0x3c]
add edi, 0xc
mov edx, dword [rdi + 0x18]
mov ebp, edx
mov ecx, edx
shr ebp, 0x1e
shr edx, 0x1d
shr ecx, 0x1f
and edx, 1
test ecx, edx
jne 0x140056925
test ebp, edx
je 0x1400568b6
push 0x20
jmp 0x1400568e5
mov eax, edx
xor eax, 1
mov dword [rsp + 0x3c], eax
and eax, ecx
test ebp, eax
je 0x1400568d3
cmp byte [rbx + 0x625], 0
push 8
pop rsi
push 4
jmp 0x1400568f0
xor eax, eax
xor ecx, eax
mov eax, ebp
xor eax, 1
and eax, ecx
test edx, eax
je 0x1400568e8
push 0x10
pop rsi
jmp 0x1400568f4
and ecx, dword [rsp + 0x3c]
test ebp, ecx
push 2
pop rax
cmovne esi, eax
mov edx, dword [rsp + 0x10]
mov ecx, dword [rdi]
add edx, ecx
mov eax, dword [rsp + 0x14]
cmp qword [rsp + 0x24], rax
jae 0x14005690e
mov eax, dword [rdi + 0x28]
sub eax, ecx
jmp 0x140056911
mov eax, dword [rdi + 4]
and dword [rsp + 0x30], 0
lea ecx, [rsp + 0x30]
push rcx
push rsi
push rax
push rdx
call qword [rbx + 0x48]
mov eax, dword [rsp + 0x24]
add edi, 0x28
mov dword [rsp + 0x24], eax
cmp eax, dword [rsp + 0x14]
jb 0x140056897
lea eax, [rsp + 0x30]
xor edi, edi
push rax
push 2
pop rax
push rax
push qword [rsp + 0x88]
mov dword [rsp + 0x3c], edi
push qword [rsp + 0x1c]
call qword [rbx + 0x48]
mov eax, dword [rsp + 0x1c]
mov ecx, dword [rsp + 0x10]
mov esi, dword [rax + 0xc0]
test esi, esi
je 0x140056990
mov esi, dword [rsi + rcx + 0xc]
test esi, esi
je 0x140056990
mov eax, dword [rsi]
test eax, eax
je 0x140056990
push 4
pop rbx
push rdi
push 1
push rcx
call rax
mov ecx, dword [rsp + 0x10]
add esi, ebx
mov eax, dword [rsi]
test eax, eax
jne 0x140056977
mov ebx, dword [rsp + 0x354]
mov ebp, dword [rsp + 0x358]
push 3
pop rax
cmp dword [rbp], eax
jne 0x140056a89
xor eax, eax
push rdi
push rax
mov eax, dword [rsp + 0x84]
push rcx
add eax, ecx
call rax
cmp byte [rbp + 0x30c], 0
je 0x140056ade
mov ecx, dword [rsp + 0xcc]
mov edx, dword [rsp + 0x10]
test ecx, ecx
je 0x140056ae2
mov esi, dword [rcx + rdx + 0x18]
test esi, esi
je 0x140056ae2
mov eax, dword [rcx + rdx + 0x20]
lea edi, [rsi - 1]
mov ebp, dword [rcx + rdx + 0x1c]
add eax, edx
mov ecx, dword [rcx + rdx + 0x24]
add ebp, edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
lea edi, [rax + rdi*4]
mov ecx, dword [rsp + 0x358]
mov eax, dword [rdi]
add ecx, 0x30c
add eax, edx
push rcx
push rax
call fcn.140057619
mov edx, dword [rsp + 0x18]
pop rcx
pop rcx
test eax, eax
je 0x140056a2d
push 4
pop rax
sub edi, eax
sub esi, 1
jne 0x1400569fc
jmp 0x140056af6
mov eax, dword [rsp + 0x3c]
movzx eax, word [rax + rsi*2 - 2]
mov esi, dword [rbp + rax*4]
add esi, edx
je 0x140056af6
mov ebp, dword [rsp + 0x358]
lea edi, [rbp + 0x40c]
cmp byte [rdi], 0
je 0x140056a85
cmp dword [rbp + 0x50c], 0
je 0x140056a6f
lea eax, [rsp + 0x14c]
push rax
push rdi
push rbx
call fcn.140056f4d
add esp, 0xc
cmp dword [rbp + 0x50c], 0
lea eax, [rsp + 0x14c]
cmove eax, edi
push rax
call rsi
jmp 0x140056ade
call rsi
jmp 0x140056ade
lea eax, [rbp + 0x40c]
cmp byte [rax], 0
je 0x140056ab4
lea ecx, [rsp + 0x14c]
push rcx
push rax
push rbx
call fcn.140056f4d
lea eax, [rsp + 0x158]
push rax
push rbx
call fcn.140056d25
add esp, 0x14
cmp dword [rbp + 4], edi
je 0x140056ad1
push rdi
push rdi
push rdi
push qword [rsp + 0x38]
push rdi
push rdi
call qword [rbx + 0x5c]
test eax, eax
je 0x140056ade
push 0xffffffffffffffff
push rax
call qword [rbx + 0x58]
jmp 0x140056ade
movabs eax, dword fs:[0xff3070ff00000018]
push rsp
and al, 0x30
mov edx, dword [rsp + 0x10]
push 3
pop rax
cmp dword [rbx + 0x230], eax
jne 0x140056af6
push 0xffffffffffffffff
call qword [rbx + 0x4c]
mov edx, dword [rsp + 0x10]
test edx, edx
je 0x140056b3c
movzx eax, word [rsp + 0x5a]
mov esi, 0xc000
imul eax, eax, 0x28
push rsi
push rax
push qword [rsp + 0x20]
call qword [rbx + 0x40]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140056b24
push rsi
push qword [rsp + 0xac]
push rax
call qword [rbx + 0x40]
push qword [rsp + 0x10]
call qword [rbx + 0x70]
push rax
call qword [rbx + 0x128]
push qword [rsp + 0x44]
call qword [rbx + 0x90]
mov eax, dword [rsp + 0x358]
push qword [rax + 0x524]
push 0
push qword [rsp + 0x3c]
call fcn.140057604
add esp, 0xc
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x340
ret