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

Disassembly:
push rbp
sub rsp, 0x1e0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x170], rcx
mov qword [rbp + 0x178], rdx
mov eax, r8d
mov qword [rbp + 0x188], r9
mov word [rbp + 0x180], ax
cmp qword [rbp + 0x170], 0
jne 0x140004200
mov eax, 0
jmp 0x1400047d3
mov rax, qword [rbp + 0x170]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x170]
add rax, rdx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140004247
lea rax, str.LocalLdrGetProcedureAddress:_invalid_IMAGE_NT_SIGNATURE_n
mov rcx, rax
call fcn.140019cf0
mov eax, 0
jmp 0x1400047d3
mov qword [rbp + 0x158], 0
mov qword [rbp + 0x150], 0
mov dword [rbp + 0x14c], 0
jmp 0x140004313
mov rax, qword [rbp + 0x130]
add rax, 0x18
mov rdx, rax
mov rax, qword [rbp + 0x130]
movzx eax, word [rax + 0x14]
movzx eax, ax
lea rcx, [rdx + rax]
mov edx, dword [rbp + 0x14c]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
cdqe
add rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov r8d, 6
mov rdx, rax
lea rax, str..text
mov rcx, rax
call fcn.1400040b8
test eax, eax
setne al
test al, al
je 0x14000430c
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x170]
add rax, rdx
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp + 0x158]
add rax, rdx
mov qword [rbp + 0x150], rax
jmp 0x14000432d
add dword [rbp + 0x14c], 1
mov rax, qword [rbp + 0x130]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp + 0x14c], eax
jl 0x14000426c
cmp qword [rbp + 0x158], 0
je 0x140004341
cmp qword [rbp + 0x150], 0
jne 0x14000434b
mov eax, 0
jmp 0x1400047d3
mov rax, qword [rbp + 0x130]
add rax, 0x88
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 4]
test eax, eax
je 0x1400047ce
mov rax, qword [rbp + 0x120]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x170]
add rax, rdx
mov qword [rbp + 0x118], rax
cmp qword [rbp + 0x178], 0
je 0x1400043a3
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x18]
jmp 0x1400043ad
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x114], eax
mov dword [rbp + 0x148], 0
jmp 0x1400047bc
mov dword [rbp + 0x144], 0
cmp qword [rbp + 0x178], 0
je 0x1400044d8
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0x170]
add rdx, rax
mov eax, dword [rbp + 0x148]
shl eax, 2
cdqe
add rax, rdx
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x170]
add rax, rdx
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call fcn.14000411e
mov rdx, rax
mov rax, qword [rbp + 0x178]
movzx eax, word [rax]
movzx eax, ax
cmp rdx, rax
setne al
test al, al
jne 0x1400047b4
mov rax, qword [rbp + 0x178]
movzx eax, word [rax]
movzx ecx, ax
mov rax, qword [rbp + 0x178]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0xf8]
mov r8, rcx
mov rcx, rax
call fcn.1400040b8
test eax, eax
setne al
test al, al
je 0x140004538
mov dword [rbp + 0x144], 1
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x170]
add rdx, rax
mov eax, dword [rbp + 0x148]
add eax, eax
cdqe
add rax, rdx
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x118]
mov edx, dword [rax + 0x10]
mov rax, qword [rbp + 0xf0]
movzx eax, word [rax]
cwde
add eax, edx
mov dword [rbp + 0x140], eax
jmp 0x140004538
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x170]
add rdx, rax
mov eax, dword [rbp + 0x148]
add eax, eax
cdqe
add rax, rdx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x118]
mov edx, dword [rax + 0x10]
mov rax, qword [rbp + 0x108]
movzx eax, word [rax]
cwde
add eax, edx
mov dword [rbp + 0x140], eax
movzx eax, word [rbp + 0x180]
cmp dword [rbp + 0x140], eax
jne 0x140004538
mov dword [rbp + 0x144], 1
cmp dword [rbp + 0x144], 0
je 0x1400047b5
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x170]
lea rcx, [rdx + rax]
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x10]
mov edx, dword [rbp + 0x140]
sub edx, eax
lea eax, [rdx*4]
mov eax, eax
add rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x170]
add rax, rdx
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
cmp rax, qword [rbp + 0x158]
jb 0x1400045c1
mov rax, qword [rbp + 0xb8]
cmp qword [rbp + 0x150], rax
jae 0x14000479c
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call fcn.14000411e
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x13c], 0
mov dword [rbp + 0x138], 0
jmp 0x14000461b
mov rdx, qword [rbp + 0xb8]
mov eax, dword [rbp + 0x138]
cdqe
add rax, rdx
movzx eax, byte [rax]
cmp al, 0x2e
jne 0x140004614
mov eax, dword [rbp + 0x138]
mov dword [rbp + 0x13c], eax
jmp 0x14000462c
add dword [rbp + 0x138], 1
mov eax, dword [rbp + 0x138]
cdqe
cmp rax, qword [rbp + 0xe0]
jb 0x1400045ed
cmp dword [rbp + 0x13c], 0
je 0x14000479c
mov eax, dword [rbp + 0x13c]
cdqe
mov rdx, qword [rbp + 0xe0]
sub rdx, rax
lea rax, [rdx - 1]
mov qword [rbp + 0xd8], rax
mov eax, dword [rbp + 0x13c]
movsxd rcx, eax
mov rdx, qword [rbp + 0xb8]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call fcn.140004159
mov eax, dword [rbp + 0x13c]
cdqe
lea rdx, [rbp - 0x60]
add rax, rdx
mov r8d, 5
lea rdx, str..dll
mov rcx, rax
call fcn.140004159
mov rax, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x13c]
movsxd rdx, edx
add rdx, 1
add rax, rdx
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov word [rbp + 0xa0], ax
movzx eax, word [rbp + 0xa0]
mov word [rbp + 0xa2], ax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xa8], rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.140003bf6
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
je 0x14000472c
mov rax, qword [rbp + 0xc8]
cmp rax, qword [rbp + 0x170]
jne 0x140004736
mov eax, 0
jmp 0x1400047d3
mov dword [rbp + 0xc4], 0
lea rcx, [rbp + 0xb8]
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0xc8]
mov r9, rcx
mov r8d, 0
mov rcx, rax
call fcn.140003ed7
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jne 0x14000479c
mov rdx, qword [rbp + 0xd0]
lea rax, [rbp - 0x60]
mov r8, rdx
mov rdx, rax
lea rax, str.____LocalLdrGetProcedureAddress:_failed_to_resolve_address_of:__s__s_n
mov rcx, rax
call fcn.140019cf0
mov eax, 0
jmp 0x1400047d3
mov rdx, qword [rbp + 0xb8]
mov rax, qword [rbp + 0x188]
mov qword [rax], rdx
mov eax, 1
jmp 0x1400047d3
nop
add dword [rbp + 0x148], 1
mov eax, dword [rbp + 0x148]
cmp eax, dword [rbp + 0x114]
jl 0x1400043c2
mov eax, 0
add rsp, 0x1e0
pop rbp
ret