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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov r10, qword [rsp + 0x88]
mov r11, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
mov r12, qword [rsp + 0x58]
cmp cx, word [rsp + 0x60]
jne 0x1400471f9
cmp byte [rdx], 0
je 0x14004725d
mov byte [rdx], 0
mov rax, qword [r12]
lea rcx, [rax + 1]
mov qword [r12], rcx
mov byte [rax], 0x2e
movzx ecx, byte [r15 + 0x17]
test cl, cl
jns 0x1400471c7
mov rcx, qword [r15 + 8]
xor eax, eax
test rcx, rcx
je 0x14004740c
mov rcx, qword [r11]
mov rdx, rcx
sub rdx, r14
cmp rdx, 0x9f
jg 0x14004740c
mov edx, dword [r10]
lea rbx, [rcx + 4]
mov qword [r11], rbx
mov dword [rcx], edx
jmp 0x14004740c
cmp cx, word [rsp + 0x68]
jne 0x140047247
movzx eax, byte [r15 + 0x17]
test al, al
jns 0x14004720d
mov rax, qword [r15 + 8]
test rax, rax
je 0x140047247
cmp byte [rdx], 0
je 0x14004725d
mov rcx, qword [r11]
mov rdx, rcx
sub rdx, r14
xor eax, eax
cmp rdx, 0x9f
jg 0x14004740c
mov edx, dword [r10]
lea rbx, [rcx + 4]
mov qword [r11], rbx
mov dword [rcx], edx
mov dword [r10], 0
jmp 0x14004740c
mov rsi, qword [rsp + 0x90]
cmp word [rsi], cx
jne 0x140047267
xor edi, edi
xor ebx, ebx
jmp 0x14004739d
mov eax, 0xffffffff
jmp 0x14004740c
cmp word [rsi + 2], cx
jne 0x140047277
mov ebx, 1
jmp 0x14004739b
cmp word [rsi + 4], cx
jne 0x140047287
mov ebx, 2
jmp 0x14004739b
cmp word [rsi + 6], cx
jne 0x140047297
mov ebx, 3
jmp 0x14004739b
cmp word [rsi + 8], cx
jne 0x1400472a7
mov ebx, 4
jmp 0x14004739b
cmp word [rsi + 0xa], cx
jne 0x1400472b7
mov ebx, 5
jmp 0x14004739b
cmp word [rsi + 0xc], cx
jne 0x1400472c7
mov ebx, 6
jmp 0x14004739b
cmp word [rsi + 0xe], cx
jne 0x1400472d7
mov ebx, 7
jmp 0x14004739b
cmp word [rsi + 0x10], cx
jne 0x1400472e7
mov ebx, 8
jmp 0x14004739b
cmp word [rsi + 0x12], cx
jne 0x1400472f7
mov ebx, 9
jmp 0x14004739b
cmp word [rsi + 0x14], cx
jne 0x140047307
mov ebx, 0xa
jmp 0x14004739b
cmp word [rsi + 0x16], cx
jne 0x140047317
mov ebx, 0xb
jmp 0x14004739b
cmp word [rsi + 0x18], cx
jne 0x140047324
mov ebx, 0xc
jmp 0x14004739b
cmp word [rsi + 0x1a], cx
jne 0x140047331
mov ebx, 0xd
jmp 0x14004739b
cmp word [rsi + 0x1c], cx
jne 0x14004733e
mov ebx, 0xe
jmp 0x14004739b
cmp word [rsi + 0x1e], cx
jne 0x14004734b
mov ebx, 0xf
jmp 0x14004739b
cmp word [rsi + 0x20], cx
jne 0x140047358
mov ebx, 0x10
jmp 0x14004739b
cmp word [rsi + 0x22], cx
jne 0x140047365
mov ebx, 0x11
jmp 0x14004739b
cmp word [rsi + 0x24], cx
jne 0x140047372
mov ebx, 0x12
jmp 0x14004739b
cmp word [rsi + 0x26], cx
jne 0x14004737f
mov ebx, 0x13
jmp 0x14004739b
cmp word [rsi + 0x28], cx
jne 0x14004738c
mov ebx, 0x14
jmp 0x14004739b
cmp word [rsi + 0x2a], cx
jne 0x140047416
mov ebx, 0x15
xor edi, edi
lea rax, str.0123456789abcdefABCDEFxX_pPiInN
movzx ebx, byte [rbx + rax]
mov eax, ebx
and eax, 0x5f
movsx ecx, byte [r8]
cmp eax, ecx
jne 0x1400473f2
or cl, 0x80
mov byte [r8], cl
cmp byte [rdx], 0
je 0x1400473f2
mov byte [rdx], 0
movzx ecx, byte [r15 + 0x17]
test cl, cl
jns 0x1400473d0
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400473f2
mov rcx, qword [r11]
mov rax, rcx
sub rax, r14
cmp rax, 0x9f
jg 0x1400473f2
mov eax, dword [r10]
lea rdx, [rcx + 4]
mov qword [r11], rdx
mov dword [rcx], eax
mov rax, qword [r12]
lea rcx, [rax + 1]
mov qword [r12], rcx
mov byte [rax], bl
xor eax, eax
test dil, dil
jne 0x14004740c
inc dword [r10]
xor eax, eax
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov eax, 0x16
cmp word [rsi + 0x2c], cx
je 0x14004742c
mov eax, 0x17
cmp word [rsi + 0x2e], cx
jne 0x14004744a
lea rcx, str.0123456789abcdefABCDEFxX_pPiInN
mov al, byte [rax + rcx]
mov byte [r8], 0x50
mov rcx, qword [r12]
lea rdx, [rcx + 1]
mov qword [r12], rdx
mov byte [rcx], al
jmp 0x14004740a
mov edi, 0x18
cmp word [rsi + 0x30], cx
je 0x140047460
mov edi, 0x19
cmp word [rsi + 0x32], cx
jne 0x14004748a
mov rcx, qword [r12]
cmp rcx, r9
je 0x14004747e
mov dl, byte [rcx - 1]
and dl, 0x5f
mov bl, byte [r8]
and bl, 0x7f
mov eax, 0xffffffff
cmp dl, bl
jne 0x14004740c
lea rax, str.0123456789abcdefABCDEFxX_pPiInN
mov al, byte [rdi + rax]
jmp 0x14004743e
mov ebx, 0x1a
mov dil, 1
cmp word [rsi + 0x34], cx
je 0x14004739d
mov ebx, 0x1b
cmp word [rsi + 0x36], cx
je 0x14004739d
mov ebx, 0x1c
cmp word [rsi + 0x38], cx
je 0x14004739d
mov ebx, 0x1d
cmp word [rsi + 0x3a], cx
je 0x14004739d
mov ebx, 0x1e
cmp word [rsi + 0x3c], cx
je 0x14004739d
mov eax, 0xffffffff
mov ebx, 0x1f
cmp word [rsi + 0x3e], cx
je 0x14004739d
jmp 0x14004740c