Function at 0x140047360
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov rcx, qword [rsp + 0xc0]
call fcn.14003d7f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
movsx eax, byte [rax]
mov dword [rsp + 0x3c], eax
lea rdx, [0x140059820]
lea rcx, [rsp + 0x38]
call fcn.140001720
mov rcx, rax
call fcn.140001700
mov ecx, 1
imul rcx, rcx, 0
movsx eax, byte [rax + rcx]
mov ecx, dword [rsp + 0x3c]
cmp ecx, eax
je 0x1400473ce
mov rax, 0xffffffffffffffff
jmp 0x14004768a
mov rax, qword [0x1400664a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004740f
mov rax, 0xffffffffffffffff
jmp 0x14004768a
cmp qword [rsp + 0x28], 0
jne 0x140047423
mov rax, 0xffffffffffffffff
jmp 0x14004768a
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0xc0]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x28]
call fcn.14003d7f0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140047020
movzx eax, ax
cmp eax, 0x20b
jne 0x140047511
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140047489
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x14004750c
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x108]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
rep movsb byte [rdi], byte [rsi]
jmp 0x14004747c
jmp 0x1400475c9
xor eax, eax
mov word [rsp + 0x24], ax
jmp 0x140047527
movzx eax, word [rsp + 0x24]
inc ax
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1400475c9
mov rcx, qword [rsp + 0x28]
call fcn.140047d70
mov qword [rsp + 0x70], rax
movzx eax, word [rsp + 0x24]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax + 0xf8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
rep movsb byte [rdi], byte [rsi]
jmp 0x14004751a
mov rcx, qword [rsp + 0x30]
call fcn.140047020
movzx eax, ax
cmp eax, 0x20b
jne 0x1400475e9
mov rcx, qword [rsp + 0x28]
call fcn.140047dc0
jmp 0x140047605
mov rcx, qword [rsp + 0x28]
call fcn.140047d70
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x28]
call fcn.140047dc0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140047a00
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + rax + 0x88], 0
je 0x140047667
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.1400476a0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
add rsp, 0xa8
pop rdi
pop rsi
ret