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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
xor eax, eax
mov word [rsp + 0x38], ax
mov dword [rsp + 0x5c], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x14014c8cd
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jge 0x14014c9bc
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x1c], ecx
je 0x14014c90e
jmp 0x14014c8b5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rax + 0x28]
and rax, rcx
test rax, rax
je 0x14014c929
jmp 0x14014c8b5
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
btr eax, 0xb
test eax, eax
jne 0x14014c93f
jmp 0x14014c8b5
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0x80
test eax, eax
je 0x14014c956
jmp 0x14014c8b5
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + 0x3c]
and eax, 0x58
test eax, eax
je 0x14014c998
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov eax, dword [rax + 4]
and eax, 3
test eax, eax
je 0x14014c993
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x34], ecx
je 0x14014c998
jmp 0x14014c8b5
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
or eax, 0x40
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
jmp 0x14014c8b5
mov dword [rsp + 0x48], 0
cmp qword [rsp + 0x70], 0
je 0x14014cbce
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x24], 0
jmp 0x14014c9ef
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x24], eax
jge 0x14014cb58
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400c1010
test eax, eax
je 0x14014ca25
jmp 0x14014c9e5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax + 0x18]
and eax, 2
test eax, eax
je 0x14014ca44
jmp 0x14014cb58
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
cmp eax, 0xa7
jne 0x14014ca6d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x2c], ecx
jne 0x14014ca6d
jmp 0x14014c9e5
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
cmp eax, 0x71
jne 0x14014cb51
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
cmp eax, 0xa7
jne 0x14014cb51
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xe8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x2c], ecx
jne 0x14014cb51
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0x30]
mov word [rax + 0x30], cx
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x30]
test eax, eax
jge 0x14014caeb
jmp 0x14014c9e5
mov rax, qword [rsp + 0x80]
movsx rax, word [rax + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0xb0]
add rax, qword [rcx + 8]
mov rcx, rax
call fcn.1400a6f80
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x14014cb32
lea rax, [0x14016d21c]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.14008b5c0
test eax, eax
jne 0x14014cb51
jmp 0x14014c9e5
jmp 0x14014cb58
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x24], eax
jne 0x14014cbce
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x44]
and eax, 0x80
test eax, eax
je 0x14014cbb3
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x44]
and eax, 0x200
test eax, eax
je 0x14014cb9e
mov dword [rsp + 0x78], 1
jmp 0x14014cba6
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x5c], eax
jmp 0x14014cbce
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x44]
and eax, 0x40
test eax, eax
je 0x14014cbce
mov dword [rsp + 0x5c], 1
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x14
movsxd rcx, dword [rsp + 0x48]
lea rax, [rax + rcx*8 + 0x60]
movsxd rcx, dword [rsp + 0x3c]
lea rax, [rax + rcx*8 + 0x28]
mov rdx, rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.14009d980
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14014cc26
lea rdx, str.out_of_memory
mov rcx, qword [rsp + 0xa0]
call fcn.14009e950
xor eax, eax
jmp 0x14014cfff
mov eax, 0x60
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*8 + 0x20]
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x5c]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x14], 0
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x14014cd2c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jge 0x14014cf29
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0x40
test eax, eax
jne 0x14014cd53
jmp 0x14014cd14
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0x20]
mov dword [rcx + rax], edx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax + 8], edx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0x3fff
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x28]
cmp eax, 1
jne 0x14014ce02
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0x8000
test eax, eax
jne 0x14014cdf8
cmp dword [rsp + 0x20], 0x1f
jg 0x14014cdda
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov dword [rsp + 0x7c], eax
jmp 0x14014cde2
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rax + 0x14]
or eax, ecx
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x14], eax
mov eax, 2
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x28]
cmp eax, 0x40
jne 0x14014ce2c
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
movzx edx, byte [rdx + 0x17]
mov byte [rcx + rax + 4], dl
jmp 0x14014cf1a
movzx eax, word [rsp + 0x28]
and eax, 0x180
test eax, eax
je 0x14014ce73
movzx eax, word [rsp + 0x28]
cmp eax, 0x100
jne 0x14014ce5b
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 0x47
jmp 0x14014ce6e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 0x48
jmp 0x14014cf1a
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x28]
mov byte [rcx + rax + 4], dl
movzx eax, word [rsp + 0x28]
and eax, 0x3c
test eax, eax
je 0x14014cf1a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.1400d92a0
test eax, eax
je 0x14014cf1a
cmp dword [rsp + 0x20], 0x10
jge 0x14014cee0
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rsp + 0x94], ecx
movzx ecx, al
mov eax, dword [rsp + 0x94]
shl eax, cl
movzx ecx, word [rsp + 0x38]
or ecx, eax
mov eax, ecx
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x28]
cmp eax, 0x10
jne 0x14014cefd
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 8
movzx eax, word [rsp + 0x28]
cmp eax, 4
jne 0x14014cf1a
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 4], 0x20
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x14014cd14
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
jmp 0x14014cf50
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x24], eax
jge 0x14014cfde
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400c1010
test eax, eax
je 0x14014cf8c
jmp 0x14014cf46
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xa8]
movsx ecx, word [rcx + 0x30]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rax*8], ecx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax + 0x18]
and eax, 1
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx*8 + 4], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x14014cf46
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xf0]
movzx ecx, word [rsp + 0x38]
mov word [rax], cx
mov rax, qword [rsp + 0x50]
add rsp, 0xc8
ret