Function at 0x140019ae0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6d0
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400a4a90]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov rbx, rcx
lea r12, [rcx + 0x470]
mov rcx, r12
call qword [0x14008a018]
mov r14d, 0xf
mov qword [rbp + 0x90], r14
xor r13d, r13d
mov qword [rbp + 0x88], r13
mov byte [rbp + 0x78], r13b
mov rcx, qword [rbx + 0x1eb8]
sub rcx, qword [rbx + 0x1eb0]
movabs rdi, 0x2e8ba2e8ba2e8ba3
mov rax, rdi
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x70], rdx
lea r8d, [r14 - 7]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rbx + 0x1f0c]
lea r8d, [r14 - 0xb]
lea rcx, [rbp + 0x78]
call fcn.140003020
mov r15d, r13d
mov rcx, qword [rbx + 0x1eb8]
sub rcx, qword [rbx + 0x1eb0]
mov rax, rdi
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14001a259
lea rax, [rbp + 0x30]
mov qword [rbp + 0x60], rax
mov esi, r13d
movabs r14, 0x2aaaaaaaaaaaaaab
mov rdi, qword [rbx + 0x1eb0]
add rdi, rsi
lea rdx, [rdi + 0x20]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x24]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x44]
mov r8d, 2
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x28]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x2c]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x30]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x34]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x88]
mov r8d, 0x20
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0xa8]
mov r8d, 0x20
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0xc8]
mov r8d, 0x20
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x40]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x46]
mov r8d, 1
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x47]
mov r8d, 1
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x82]
mov r8d, 2
lea rcx, [rbp + 0x78]
call fcn.140003020
lea rdx, [rdi + 0x84]
mov r8d, 2
lea rcx, [rbp + 0x78]
call fcn.140003020
mov rax, qword [rbx + 0x1eb0]
mov rcx, qword [rax + rsi + 0x10]
mov dword [rbp + 0x28], ecx
mov r8d, 4
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x78]
call fcn.140003020
mov rdx, qword [rbx + 0x1eb0]
add rdx, rsi
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r13
mov byte [rbp + 0x30], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x30]
call fcn.140003670
nop
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
lea rcx, [rbp + 0x78]
call fcn.140003020
nop
cmp qword [rbp + 0x48], 0x10
jb 0x140019d91
mov rcx, qword [rbp + 0x30]
call fcn.140073474
mov rax, qword [rbx + 0x1eb0]
mov rcx, qword [rax + rsi + 0xf8]
sub rcx, qword [rax + rsi + 0xf0]
sar rcx, 2
mov qword [rbp + 0x50], rcx
mov r8d, 8
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x78]
call fcn.140003020
mov rdi, r13
mov rdx, qword [rbx + 0x1eb0]
add rdx, 0xf0
add rdx, rsi
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
sar rax, 2
test rax, rax
je 0x140019e33
nop word [rax + rax]
mov rax, qword [rdx]
lea rdx, [rax + rdi*4]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
inc rdi
mov rcx, qword [rbx + 0x1eb0]
lea rdx, [rcx + 0xf0]
add rdx, rsi
mov rax, qword [rcx + rsi + 0xf8]
sub rax, qword [rcx + rsi + 0xf0]
sar rax, 2
cmp rdi, rax
jb 0x140019df0
mov rax, qword [rbx + 0x1eb0]
mov rcx, qword [rax + rsi + 0x110]
sub rcx, qword [rax + rsi + 0x108]
sar rcx, 2
mov qword [rbp + 0x58], rcx
mov r8d, 8
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x78]
call fcn.140003020
mov rdi, r13
mov rdx, qword [rbx + 0x1eb0]
add rdx, 0x108
add rdx, rsi
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
sar rax, 2
test rax, rax
je 0x140019ed3
nop dword [rax]
mov rax, qword [rdx]
lea rdx, [rax + rdi*4]
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
inc rdi
mov rcx, qword [rbx + 0x1eb0]
lea rdx, [rcx + 0x108]
add rdx, rsi
mov rax, qword [rcx + rsi + 0x110]
sub rax, qword [rcx + rsi + 0x108]
sar rax, 2
cmp rdi, rax
jb 0x140019e90
mov rdx, qword [rbx + 0x1eb0]
add rdx, 0x120
add rdx, rsi
mov r8d, 4
lea rcx, [rbp + 0x78]
call fcn.140003020
mov rax, qword [rbx + 0x1eb0]
mov rcx, qword [rax + rsi + 0x70]
mov qword [rbp + 0x20], rcx
lea rax, [rbp + 0x78]
mov r8, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x90]
cmp rcx, 0x10
cmovae rax, r8
lea r9, [rbp + 0x20]
mov rdx, qword [rbp + 0x88]
cmp r9, rax
jb 0x140019f6d
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
add rax, rdx
lea r9, [rbp + 0x20]
cmp rax, r9
jbe 0x140019f6d
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
lea r8, [rbp + 0x20]
sub r8, rax
mov r9d, 8
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.140003540
jmp 0x14001a006
or rax, 0xffffffffffffffff
sub rax, rdx
cmp rax, 8
jbe 0x14001a24c
lea rdi, [rdx + 8]
cmp rdi, 0xfffffffffffffffe
ja 0x14001a23f
cmp rcx, rdi
jae 0x140019fa2
mov r8, rdx
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.140003f60
jmp 0x140019fbd
test rdi, rdi
jne 0x140019fd4
mov qword [rbp + 0x88], r13
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
mov byte [rax], dil
mov r8, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x90]
test rdi, rdi
je 0x14001a006
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
movsd xmm0, qword [rbp + 0x20]
movsd qword [rdx + rax], xmm0
mov qword [rbp + 0x88], rdi
lea rax, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rax, qword [rbp + 0x78]
mov byte [rdi + rax], 0
mov rax, qword [rbx + 0x1eb0]
lea rdx, [rax + 0x60]
add rdx, rsi
cmp qword [rdx + 0x18], 0x10
jb 0x14001a01e
mov rdx, qword [rdx]
mov r8, qword [rax + rsi + 0x70]
lea rcx, [rbp + 0x78]
call fcn.140003020
mov rdx, qword [rbx + 0x1eb0]
sub rdx, 0xffffffffffffff80
add rdx, rsi
mov r8d, 2
lea rcx, [rbp + 0x78]
call fcn.140003020
mov rax, qword [rbx + 0x1eb0]
mov rcx, qword [rax + rsi + 0x50]
sub rcx, qword [rax + rsi + 0x48]
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x70], rdx
lea rax, [rbp + 0x78]
mov r8, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x90]
cmp rcx, 0x10
cmovae rax, r8
lea r9, [rbp + 0x70]
mov rdx, qword [rbp + 0x88]
cmp r9, rax
jb 0x14001a0dc
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
add rax, rdx
lea r9, [rbp + 0x70]
cmp rax, r9
jbe 0x14001a0dc
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
lea r8, [rbp + 0x70]
sub r8, rax
mov r9d, 8
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.140003540
jmp 0x14001a175
or rax, 0xffffffffffffffff
sub rax, rdx
cmp rax, 8
jbe 0x14001a232
lea rdi, [rdx + 8]
cmp rdi, 0xfffffffffffffffe
ja 0x14001a225
cmp rcx, rdi
jae 0x14001a111
mov r8, rdx
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.140003f60
jmp 0x14001a12c
test rdi, rdi
jne 0x14001a143
mov qword [rbp + 0x88], r13
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
mov byte [rax], dil
mov r8, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x90]
test rdi, rdi
je 0x14001a175
lea rax, [rbp + 0x78]
cmp rcx, 0x10
cmovae rax, r8
movsd xmm0, qword [rbp + 0x70]
movsd qword [rdx + rax], xmm0
mov qword [rbp + 0x88], rdi
lea rax, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rax, qword [rbp + 0x78]
mov byte [rdi + rax], 0
mov rax, qword [rbx + 0x1eb0]
mov rcx, qword [rax + rsi + 0x50]
sub rcx, qword [rax + rsi + 0x48]
mov rax, r14
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
je 0x14001a1e1
mov r14, r13
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x1eb0]
mov rdx, qword [rax + rsi + 0x48]
add rdx, r14
mov r8d, 0x60
lea rcx, [rbp + 0x78]
call fcn.140003020
add r14, 0x60
dec rdi
jne 0x14001a1b0
movabs r14, 0x2aaaaaaaaaaaaaab
inc r15
add rsi, 0x160
mov rcx, qword [rbx + 0x1eb8]
sub rcx, qword [rbx + 0x1eb0]
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jb 0x140019be2
mov r14d, 0xf
jmp 0x14001a259
lea rcx, str.string_too_long
call fcn.1400727dc
int3
lea rcx, str.string_too_long
call fcn.1400727dc
int3
lea rcx, str.string_too_long
call fcn.1400727dc
int3
lea rcx, str.string_too_long
call fcn.1400727dc
int3
mov ecx, dword [rbp + 0x88]
call fcn.14007284c
mov rdi, rax
mov dword [rsp + 0x20], 0x313b76d7
mov dword [rsp + 0x24], 0x29d21bd7
mov dword [rsp + 0x28], 0xdcc81170
mov dword [rsp + 0x2c], 0x28db89c2
mov dword [rsp + 0x30], 0x8a3d3470
mov dword [rsp + 0x34], 0xd4d934c7
mov dword [rsp + 0x38], 0x39559036
mov dword [rsp + 0x3c], 0xf8d751b7
mov dword [rsp + 0x40], 0xb271b6
mov dword [rsp + 0x44], 0x50830d52
mov dword [rsp + 0x48], 0x1207dd37
mov dword [rsp + 0x4c], 0x5ae32309
mov dword [rsp + 0x50], 0x2e676eaf
mov dword [rsp + 0x54], 0xd80de3c0
mov dword [rsp + 0x58], 0x75cc2b83
mov dword [rsp + 0x5c], 0x11a1ceb0
mov dword [rsp + 0x60], 0xfdd1e400
mov dword [rsp + 0x64], 0x8a483b65
mov dword [rsp + 0x68], 0x9d3fe44a
mov dword [rsp + 0x6c], 0x9f051332
mov dword [rsp + 0x70], 0xb93d616
mov dword [rsp + 0x74], 0xc83d511
mov dword [rsp + 0x78], 0x6d688a16
mov dword [rsp + 0x7c], 0x1ee1d54
mov dword [rbp - 0x80], 0xe779f46e
mov dword [rbp - 0x7c], 0x856581d2
mov dword [rbp - 0x78], 0x5c80b866
mov dword [rbp - 0x74], 0x84648bcd
mov dword [rbp - 0x70], 0xbc51e055
mov dword [rbp - 0x6c], 0xbfae2998
mov dword [rbp - 0x68], 0xa5b4c934
mov dword [rbp - 0x64], 0xad952c45
mov dword [rbp - 0x60], 0x75e3731f
mov dword [rbp - 0x5c], 0x3ee982c1
mov dword [rbp - 0x58], 0xc5b3db68
mov dword [rbp - 0x54], 0x9dd3cc1d
mov dword [rbp - 0x50], 0xccc0cdd3
mov dword [rbp - 0x4c], 0x6f53bb38
mov dword [rbp - 0x48], 0x1c7922a7
mov dword [rbp - 0x44], 0xc872e324
mov dword [rbp - 0x40], 0x8de0831d
mov dword [rbp - 0x3c], 0xeaf49621
mov dword [rbp - 0x38], 0xc66ee0ae
mov dword [rbp - 0x34], 0xd11c0c5c
mov dword [rbp - 0x30], 0xcc5389b
mov dword [rbp - 0x2c], 0x478aa3de
mov dword [rbp - 0x28], 0x9b7761fa
mov dword [rbp - 0x24], 0x53bb8e92
mov dword [rbp - 0x20], 0xba6365f
mov dword [rbp - 0x1c], 0x6d02f9ae
mov dword [rbp - 0x18], 0x4c884d5f
mov dword [rbp - 0x14], 0x7dcd44b8
mov dword [rbp - 0x10], 0x4f31e9d0
mov dword [rbp - 0xc], 0x4d71fcd4
mov dword [rbp - 8], 0x81a22a34
mov dword [rbp - 4], 0xce5daac2
mov dword [rbp], 0xa0c3306
mov dword [rbp + 4], 0x6d97ba82
mov dword [rbp + 8], 0x23a0814e
mov dword [rbp + 0xc], 0xc98beed8
mov dword [rbp + 0x10], 0x46a75c3e
mov dword [rbp + 0x14], 0x38f72306
mov dword [rbp + 0x18], 0x68d946ea
mov dword [rbp + 0x1c], 0xa1fb867e
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae rdx, qword [rbp + 0x78]
mov r8d, dword [rbp + 0x88]
mov rcx, rax
call fcn.140072940
mov byte [rbp + 0x4c0], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x4c1]
call fcn.140076990
mov ebx, r13d
mov dword [rbp + 0xc0], r13d
xor edx, edx
mov r8d, 0x3fc
lea rcx, [rbp + 0xc4]
call fcn.140076990
mov edx, r13d
mov r8, r13
lea r9, [rbp + 0xc0]
mov r10d, 0x100
nop dword [rax + rax]
mov byte [rbp + r8 + 0x4c0], dl
movzx eax, r8b
movzx ecx, byte [rsp + rax + 0x20]
mov dword [r9], ecx
inc edx
inc r8
lea r9, [r9 + 4]
cmp edx, r10d
jl 0x14001a4b0
lea rdx, [rbp + 0x4c0]
lea r8, [rbp + 0xc0]
movzx r9d, byte [rdx]
mov eax, r9d
add eax, dword [r8]
add ebx, eax
and ebx, 0x800000ff
jge 0x14001a4fe
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rcx, [rbp + 0x4c0]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov byte [rcx], r9b
add r8, 4
inc rdx
dec r10
jne 0x14001a4e0
mov r8d, r13d
mov r9d, r13d
mov r10d, r13d
mov eax, dword [rbp + 0x88]
test eax, eax
je 0x14001a5d3
nop word [rax + rax]
inc r8d
and r8d, 0x800000ff
jge 0x14001a559
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea rdx, [rbp + 0x4c0]
add rdx, rax
movzx r11d, byte [rdx]
add r9d, r11d
and r9d, 0x800000ff
jge 0x14001a583
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rax, r9d
lea rcx, [rbp + 0x4c0]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rdx], al
mov byte [rcx], r11b
movzx ecx, byte [rdx]
add ecx, r11d
and ecx, 0x800000ff
jge 0x14001a5b0
dec ecx
or ecx, 0xffffff00
inc ecx
mov edx, r10d
movsxd rax, ecx
movzx ecx, byte [rbp + rax + 0x4c0]
xor byte [rdx + rdi], cl
inc r10d
mov eax, dword [rbp + 0x88]
cmp r10d, eax
jb 0x14001a540
mov qword [rbp + 0xb0], r14
mov byte [rbp + 0x98], 0
mov dword [rbp + 0x98], eax
mov qword [rbp + 0xa8], 4
lea rax, [rbp + 0x98]
cmp r14, 0x10
cmovae rax, qword [rbp + 0x98]
mov byte [rax + 4], 0
mov r8d, dword [rbp + 0x88]
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.140003020
mov esi, r13d
mov qword [rbp + 0x70], r13
lea r8, [0x140091d68]
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.140073104
mov r9, qword [rbp + 0x70]
test r9, r9
je 0x14001a687
lea rcx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 0x10
cmovae rcx, qword [rbp + 0x98]
mov r8d, dword [rbp + 0xa8]
mov r15d, 1
mov edx, r15d
call fcn.14007360c
mov rbx, rax
mov rcx, qword [rbp + 0x70]
call fcn.140073774
mov ecx, dword [rbp + 0xa8]
cmp rbx, rcx
cmove esi, r15d
mov rcx, rdi
call fcn.140073158
nop
cmp qword [rbp + 0xb0], 0x10
jb 0x14001a6a6
mov rcx, qword [rbp + 0x98]
call fcn.140073474
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xa8], r13
mov byte [rbp + 0x98], 0
cmp qword [rbp + 0x90], 0x10
jb 0x14001a6ce
mov rcx, qword [rbp + 0x78]
call fcn.140073474
mov eax, esi
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140072910
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret