Function at 0x140048550
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, 0x148
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x1402e7080]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x178]
call fcn.14003d8e0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x68]
call fcn.14005ceb0
nop
lea rcx, [rsp + 0xd0]
call fcn.140011710
test rax, rax
jne 0x1400485c9
xor eax, eax
mov word [rsp + 0x38], ax
jmp 0x1400485d8
mov rcx, qword [rsp + 0x68]
call fcn.14005d8f0
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x80], 0x16
mov dword [rsp + 0x84], 0x18
mov rcx, qword [rsp + 0x178]
call fcn.1400194f0
mov qword [rsp + 0x88], rax
mov eax, 1
imul rax, rax, 0x1b
lea rcx, str.0123456789ABCDEFabcdef_Xx
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
lea rdx, str.0123456789ABCDEFabcdef_Xx
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0xf8]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x88]
call fcn.14005d980
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1400394d0
movzx eax, al
test eax, eax
je 0x140048711
mov rcx, qword [rsp + 0x160]
call fcn.14003ffc0
movzx eax, ax
mov ecx, 2
imul rcx, rcx, 0x17
movzx ecx, word [rsp + rcx + 0xf8]
cmp eax, ecx
jne 0x1400486ca
mov rax, qword [rsp + 0x30]
mov byte [rax], 0x2b
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x160]
call fcn.140040510
jmp 0x140048711
mov rcx, qword [rsp + 0x160]
call fcn.14003ffc0
movzx eax, ax
mov ecx, 2
imul rcx, rcx, 0x16
movzx ecx, word [rsp + rcx + 0xf8]
cmp eax, ecx
jne 0x140048711
mov rax, qword [rsp + 0x30]
mov byte [rax], 0x2d
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x160]
call fcn.140040510
mov eax, dword [rsp + 0x170]
and eax, 0xe00
mov dword [rsp + 0x170], eax
cmp dword [rsp + 0x170], 0x400
jne 0x14004873b
mov dword [rsp + 0x50], 8
jmp 0x14004877e
cmp dword [rsp + 0x170], 0x800
jne 0x140048752
mov dword [rsp + 0x4c], 0x10
jmp 0x140048776
cmp dword [rsp + 0x170], 0
jne 0x140048766
mov dword [rsp + 0x48], 0
jmp 0x14004876e
mov dword [rsp + 0x48], 0xa
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 0
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1400394d0
movzx eax, al
test eax, eax
je 0x14004888a
mov rcx, qword [rsp + 0x160]
call fcn.14003ffc0
movzx eax, ax
mov ecx, 2
imul rcx, rcx, 0
movzx ecx, word [rsp + rcx + 0xf8]
cmp eax, ecx
jne 0x14004888a
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x160]
call fcn.140040510
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1400394d0
movzx eax, al
test eax, eax
je 0x14004887b
mov rcx, qword [rsp + 0x160]
call fcn.14003ffc0
movzx eax, ax
mov ecx, 2
imul rcx, rcx, 0x19
movzx ecx, word [rsp + rcx + 0xf8]
cmp eax, ecx
je 0x140048851
mov rcx, qword [rsp + 0x160]
call fcn.14003ffc0
movzx eax, ax
mov ecx, 2
imul rcx, rcx, 0x18
movzx ecx, word [rsp + rcx + 0xf8]
cmp eax, ecx
jne 0x14004887b
cmp dword [rsp + 0x24], 0
je 0x14004885f
cmp dword [rsp + 0x24], 0x10
jne 0x14004887b
mov dword [rsp + 0x24], 0x10
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x160]
call fcn.140040510
jmp 0x14004888a
cmp dword [rsp + 0x24], 0
jne 0x14004888a
mov dword [rsp + 0x24], 8
cmp dword [rsp + 0x24], 0
je 0x1400488bb
cmp dword [rsp + 0x24], 0xa
je 0x1400488bb
cmp dword [rsp + 0x24], 8
jne 0x1400488a9
mov dword [rsp + 0x54], 8
jmp 0x1400488b1
mov dword [rsp + 0x54], 0x16
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
jmp 0x1400488c3
mov dword [rsp + 0x58], 0xa
movsxd rax, dword [rsp + 0x58]
mov qword [rsp + 0x90], rax
movzx r8d, byte [rsp + 0x20]
mov edx, 1
lea rcx, [rsp + 0xa8]
call fcn.140012120
nop
mov qword [rsp + 0x28], 0
mov eax, 1
imul rax, rax, 0x1f
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x140048920
mov rcx, qword [rsp + 0x160]
call fcn.140040510
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1400394d0
movzx eax, al
test eax, eax
je 0x140048a6c
mov rcx, qword [rsp + 0x160]
call fcn.14003ffc0
movzx edx, ax
lea rcx, [rsp + 0xf8]
call fcn.140039740
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x70], rax
jae 0x140048a0c
lea rax, str.0123456789ABCDEFabcdef_Xx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x70]
movzx eax, byte [rax + rdx]
mov byte [rcx], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400489a2
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x30
je 0x1400489c3
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x30], rax
jae 0x1400489c3
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x21], 1
mov byte [rsp + 0x20], 1
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140011ff0
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x140048a0a
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140011ff0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
inc al
mov rcx, qword [rsp + 0x78]
mov byte [rcx], al
jmp 0x140048a67
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140011ff0
movsx eax, byte [rax]
test eax, eax
je 0x140048a47
movzx eax, word [rsp + 0x3c]
test eax, eax
je 0x140048a47
mov rcx, qword [rsp + 0x160]
call fcn.14003ffc0
movzx eax, ax
movzx ecx, word [rsp + 0x3c]
cmp eax, ecx
je 0x140048a4b
jmp 0x140048a6c
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.1400140e0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x140048913
cmp qword [rsp + 0x28], 0
je 0x140048aa1
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140011ff0
movsx eax, byte [rax]
test eax, eax
jle 0x140048a9c
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x140048aa1
mov byte [rsp + 0x20], 0
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.14001bee0
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140048b83
cmp qword [rsp + 0x28], 0
jbe 0x140048b83
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0x7f
jne 0x140048ae5
jmp 0x140048b83
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x140048b23
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
mov dword [rsp + 0x5c], eax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140011ff0
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x5c]
cmp ecx, eax
jne 0x140048b54
cmp qword [rsp + 0x28], 0
jne 0x140048b5b
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
mov dword [rsp + 0x60], eax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140011ff0
movsx eax, byte [rax]
mov ecx, dword [rsp + 0x60]
cmp ecx, eax
jge 0x140048b5b
mov byte [rsp + 0x20], 0
jmp 0x140048b7e
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x140048b7e
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
jmp 0x140048ab5
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140048bac
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140048bac
mov rax, qword [rsp + 0x30]
mov byte [rax], 0x30
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x140048bc2
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140048bc2
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov byte [rax], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xa8]
call fcn.1400046a0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400046a0
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400681e0
add rsp, 0x148
ret