Function at 0x14012a420
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1403bae80]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
lea rcx, str.MSVCRT.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
mov r13d, r14d
mov qword [rsp + 0xa0], r14
test rbx, rbx
je 0x14012a507
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14012ae9c
cmp rbx, 0x1000
jb 0x14012a4c8
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14012aea2
call qword [sym.imp.mfc140.dll_Ordinal_1485]
test rax, rax
je 0x14012ae96
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x14012a4d4
mov rcx, rbx
call qword [sym.imp.mfc140.dll_Ordinal_1485]
mov r15, rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x90], r15
lea r13, [rbx + r15]
mov qword [rsp + 0xa0], r13
mov r8, rbx
xor edx, edx
mov rcx, r15
call fcn.1402e9a60
mov rdx, r13
mov qword [rsp + 0x98], rdx
jmp 0x14012a51c
mov rdx, qword [rsp + 0x98]
mov r15, qword [rsp + 0x90]
mov qword [rsp + 0x60], r15
test rbx, rbx
je 0x14012a540
mov rcx, r15
sub rdi, r15
nop word [rax + rax]
movzx eax, byte [rcx + rdi]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x14012a530
cmp r15, rdx
je 0x14012a570
mov eax, 0x5a4d
cmp word [r15], ax
je 0x14012a5da
lea rdx, [0x14039b408]
lea rcx, [0x1403be190]
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
nop
test r15, r15
je 0x14012a5a8
sub r13, r15
cmp r13, 0x1000
mov rax, r15
jb 0x14012a59d
mov r15, qword [r15 - 8]
sub rax, r15
add r13, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012ae96
mov rdx, r13
mov rcx, r15
call fcn.1402ba250
mov eax, 1
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1402ba230
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movsxd rdx, dword [r15 + 0x3c]
add rdx, r15
mov qword [rsp + 0x78], rdx
cmp dword [rdx], 0x4550
je 0x14012a5fa
lea rdx, [0x14039b418]
jmp 0x14012a55b
lea rcx, [rdx + 0x18]
mov qword [rsp + 0x20], rcx
movzx eax, word [rcx]
mov r8d, 0x10b
cmp ax, r8w
jne 0x14012a655
xor sil, sil
mov qword [rsp + 0x50], reloc.WS2_32.dll_recv
mov r12d, 0x98
mov r14d, 0x18
mov qword [rsp + 0x58], 0x78
mov qword [rsp + 0x88], 0x3c
mov qword [rsp + 0x30], rdx
movzx ebx, word [rdx + 0x14]
add rbx, rdx
mov edx, dword [rcx + 0x38]
add rbx, r14
xor ecx, ecx
jmp 0x14012a6ad
mov ecx, 0x20b
cmp ax, cx
jne 0x14012ae45
mov sil, 1
mov rcx, rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x20], r14
lea rax, [rdx + 0x28]
mov qword [rsp + 0x50], rax
lea r12, [rdx + 0xb0]
lea r14, [rdx + 0x30]
lea rax, [rdx + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rdx + 0x54]
mov qword [rsp + 0x88], rax
movzx ebx, word [rdx + 0x14]
add rbx, 0x18
mov edx, dword [rdx + 0x50]
add rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r12
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x14012a6e9
lea rdx, [0x14039b440]
jmp 0x14012a55b
lea rdx, [0x14039b450]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
mov rdx, rdi
call fcn.14012cc10
mov rcx, rax
call fcn.1401300c0
test sil, sil
je 0x14012a720
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
jmp 0x14012a728
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov r8d, eax
mov rdx, r15
mov rcx, rdi
call fcn.1402e93c0
lea rdx, str.PE_
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
xor edx, edx
mov ecx, edx
mov dword [rsp + 0x88], edx
mov rax, qword [rsp + 0x30]
cmp dx, word [rax + 6]
jae 0x14012a7fc
mov r12d, 1
mov r13, rax
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x14012a7d6
mov ecx, dword [rbx + 0xc]
add rcx, rdi
mov edx, dword [rbx + 0x14]
add rdx, r15
mov r8d, eax
call fcn.1402e93c0
lea rdx, [0x14039b484]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
mov edx, r12d
call fcn.14012d210
mov rcx, rax
lea rdx, [0x14039b478]
call fcn.14012fe10
mov rdx, rbx
mov rcx, rax
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
mov ecx, dword [rsp + 0x88]
inc ecx
mov dword [rsp + 0x88], ecx
add rbx, 0x28
inc r12d
movzx eax, word [r13 + 6]
cmp ecx, eax
jl 0x14012a774
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x38]
test sil, sil
je 0x14012a80b
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
jmp 0x14012a814
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x68]
mov rax, rcx
shr rax, 0x20
test eax, eax
je 0x14012aa10
mov ebx, ecx
mov rdx, rdi
add rbx, rdi
mov qword [rsp + 0x88], rbx
cmp dword [rbx + 0xc], 0
je 0x14012aa10
nop dword [rax]
mov ebx, dword [rbx + 0xc]
add rbx, rdx
lea rdx, [0x14039b488]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
mov rdx, rbx
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14012aa85
xor r11d, r11d
mov r9d, r11d
mov r10d, r11d
mov rbx, qword [rsp + 0x88]
mov eax, dword [rbx]
mov rdx, qword [rsp + 0x28]
add rax, rdx
test sil, sil
je 0x14012a8af
mov r10d, dword [rbx + 0x10]
add r10, rdx
jmp 0x14012a8b6
mov r9d, dword [rbx + 0x10]
add r9, rdx
mov r14, rax
test sil, sil
cmove r14, r11
mov r12, r11
cmove r12, rax
sub r10, r14
mov qword [rsp + 0x70], r10
sub r9, r12
mov qword [rsp + 0x68], r9
mov rdi, r11
test sil, sil
je 0x14012a93a
mov rax, qword [r14]
test rax, rax
je 0x14012a9e3
js 0x14012a8f4
lea rdi, [rdx + 2]
add rdi, rax
mov rbx, rax
shr rbx, 0x3f
movzx ecx, ax
test rax, rax
cmovns ecx, r11d
test ebx, ebx
mov edx, ecx
jne 0x14012a90e
mov rdx, rdi
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, qword [rsp + 0x20]
mov qword [rsp + 0x20], r8
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x50], r8
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rdx
xor r11d, r11d
jmp 0x14012a989
mov eax, dword [r12]
test eax, eax
je 0x14012a9e3
mov rcx, r8
jns 0x14012a955
mov ebx, 1
movzx edx, ax
jmp 0x14012a911
lea rdi, [rdx + 2]
add rdi, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r11d, r11d
mov ebx, r11d
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rcx
test rax, rax
je 0x14012aa3a
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x28]
test sil, sil
je 0x14012a9d1
mov rcx, qword [rsp + 0x70]
mov qword [r14 + rcx], rax
add r14, 8
jmp 0x14012a8d7
mov rcx, qword [rsp + 0x68]
mov dword [r12 + rcx], eax
add r12, 4
jmp 0x14012a8d7
mov rbx, qword [rsp + 0x88]
add rbx, 0x14
mov qword [rsp + 0x88], rbx
cmp dword [rbx + 0xc], 0
jne 0x14012a840
mov rdi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
lea rdx, [0x14039b4e0]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
test sil, sil
je 0x14012aa9d
mov rax, qword [r14]
mov r14, qword [rsp + 0x20]
jmp 0x14012aaa6
lea rax, [0x14039b4b8]
test ebx, ebx
cmovne rdi, rax
lea rdx, [0x14039b4c8]
lea rcx, [0x1403be190]
call fcn.14012fe10
mov rdx, rdi
mov rcx, rax
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14012a570
lea rdx, [0x14039b4a0]
lea rcx, [0x1403be190]
call fcn.14012fe10
mov rdx, rbx
jmp 0x14012aa5d
mov r14, qword [rsp + 0x20]
mov eax, dword [r14 + 0x1c]
mov rbx, rdi
sub rbx, rax
mov qword [rsp + 0x58], rbx
je 0x14012ac51
lea rdx, [0x14039b4f0]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
mov rdx, rbx
call fcn.14012ce10
mov rcx, rax
call fcn.1401300c0
test sil, sil
je 0x14012aae8
mov rcx, qword [r12]
jmp 0x14012aaef
mov rcx, qword [r14 + 0x88]
mov rax, rcx
shr rax, 0x20
test eax, eax
je 0x14012ac51
mov r12d, ecx
add r12, rdi
mov eax, dword [r12 + 4]
test eax, eax
je 0x14012ac51
mov r8d, 0xfff
mov r13, qword [rsp + 0x28]
nop dword [rax]
mov edx, dword [r12]
mov dword [rsp + 0x88], edx
sub rax, 8
shr rax, 1
xor r14d, r14d
cdqe
test rax, rax
jle 0x14012ac2a
mov r15, rax
movzx ecx, word [r12 + r14*2 + 8]
movzx eax, cx
shr ax, 0xc
and cx, r8w
cmp ax, 0xa
jne 0x14012abb3
test sil, sil
je 0x14012ac1e
movzx eax, cx
mov ebx, edx
add rax, r13
add rbx, rax
mov rax, qword [rsp + 0x58]
add qword [rbx], rax
mov rdi, qword [rbx]
lea rdx, [0x14039b510]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
mov rdx, rbx
call fcn.14012cc10
mov rcx, rax
lea rdx, [0x14039b504]
call fcn.14012fe10
mov rcx, rax
mov rdx, rdi
call fcn.14012ce10
jmp 0x14012ac09
cmp ax, 3
jne 0x14012ac1e
test sil, sil
jne 0x14012ac1e
movzx eax, cx
mov ebx, edx
add rax, r13
add rbx, rax
mov rax, qword [rsp + 0x58]
add dword [rbx], eax
mov edi, dword [rbx]
lea rdx, [0x14039b510]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
mov rdx, rbx
call fcn.14012cc10
mov rcx, rax
lea rdx, [0x14039b504]
call fcn.14012fe10
mov rcx, rax
mov edx, edi
call fcn.14012d010
mov rcx, rax
call fcn.1401300c0
mov r8d, 0xfff
mov edx, dword [rsp + 0x88]
inc r14
cmp r14, r15
jl 0x14012ab43
mov eax, dword [r12 + 4]
add r12, rax
mov eax, dword [r12 + 4]
test eax, eax
jne 0x14012ab20
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x28]
test sil, sil
mov rax, qword [rsp + 0x48]
jne 0x14012ac60
mov rax, qword [rsp + 0x78]
movzx ebx, word [rax + 0x14]
add rbx, rax
add rbx, 0x18
mov r14, qword [rsp + 0x30]
xor r12d, r12d
cmp r12w, word [r14 + 6]
jae 0x14012ad28
mov ecx, 2
nop dword [rax]
nop word [rax + rax]
mov r8d, 1
mov eax, dword [rbx + 0x24]
bt eax, 0x1d
jae 0x14012acb9
test eax, eax
jns 0x14012acab
mov r8d, 0x40
jmp 0x14012accd
bt eax, 0x1e
jae 0x14012accd
mov r8d, 0x20
jmp 0x14012accd
test eax, eax
jns 0x14012acc5
mov r8d, 4
jmp 0x14012accd
bt eax, 0x1e
cmovb r8d, ecx
mov ecx, dword [rbx + 0xc]
add rcx, rdi
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14012ad36
lea rdx, [0x14039b540]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rdx, rbx
mov rcx, rax
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
inc r12d
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp r12d, eax
mov ecx, 2
jl 0x14012ac90
test sil, sil
je 0x14012ada8
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
jmp 0x14012adb0
lea rdx, [0x14039b528]
lea rcx, [0x1403be190]
call fcn.14012fe10
mov rdx, rbx
mov rcx, rax
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
test r15, r15
je 0x14012a5a8
sub r13, r15
mov rax, r15
cmp r13, 0x1000
jb 0x14012a59d
add r13, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012aea8
jmp 0x14012a59d
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov ebx, eax
add rbx, rdi
lea rdx, [0x14039b558]
lea rcx, [0x1403be010]
call fcn.14012fe10
mov rcx, rax
mov rdx, rbx
call fcn.14012cc10
mov rcx, rax
call fcn.1401300c0
nop
call rbx
nop
jmp 0x14012adf6
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
test r15, r15
je 0x14012a5ad
sub r13, r15
mov rax, r15
cmp r13, 0x1000
jb 0x14012ae35
add r13, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012ae96
mov rdx, r13
mov rcx, r15
call fcn.1402ba250
jmp 0x14012a5ad
lea rdx, [0x14039b428]
lea rcx, [0x1403be190]
call fcn.14012fe10
mov rcx, rax
call fcn.1401300c0
nop
test r15, r15
je 0x14012a5a8
sub r13, r15
mov rax, r15
cmp r13, 0x1000
jb 0x14012a59d
add r13, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012a59d
call fcn.1402c945c
int3
call fcn.140131ab0
int3
call fcn.140129520
int3
call fcn.1402c945c
int3