Function at 0x140004a9c
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, 0x268
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x88
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140004b1c
xor eax, eax
jmp 0x140004e41
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140004b4d
xor eax, eax
jmp 0x140004e41
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x140004bd3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140004c01
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
or eax, 0x20
mov ecx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x150], al
jmp 0x140004bc9
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x150], 0
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x150]
call fcn.140012564
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x70]
call fcn.140012564
xor rax, qword [rsp + 0x78]
cmp rax, qword [rsp + 0x280]
jne 0x140004e1f
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x278]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jb 0x140004e18
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x28], rax
jae 0x140004e18
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140004cf7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140004d3f
mov eax, dword [rsp + 0x20]
cmp rax, 0x3c
jae 0x140004d3f
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov al, byte [rdx + rax]
mov byte [rsp + rcx + 0x90], al
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jne 0x140004d3d
jmp 0x140004d3f
jmp 0x140004ced
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov byte [rsp + rax + 0x90], 0x64
mov eax, dword [rsp + 0x20]
add eax, 2
mov eax, eax
mov byte [rsp + rax + 0x90], 0x6c
mov eax, dword [rsp + 0x20]
add eax, 3
mov eax, eax
mov byte [rsp + rax + 0x90], 0x6c
mov eax, dword [rsp + 0x20]
add eax, 4
mov eax, eax
mov byte [rsp + rax + 0x90], 0
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140004dae
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140004de2
mov eax, dword [rsp + 0x20]
cmp rax, 0x7f
jae 0x140004de2
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov al, byte [rdx + rax]
mov byte [rsp + rcx + 0xd0], al
jmp 0x140004da4
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0xd0], 0
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.140004e4c
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
jmp 0x140004e41
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140004e3c
cmp qword [rsp + 0x28], 0
je 0x140004c27
mov rax, qword [rsp + 0x28]
add rsp, 0x268
ret