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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x1168
call fcn.140045c10
sub rsp, rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x160]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x1178]
and eax, 0x800
test eax, eax
jne 0x1400123c8
mov dword [rsp + 0x90], 1
jmp 0x1400123d3
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x7c], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x1170]
cmp qword [rax], 0x16
jae 0x14001242c
mov edx, 8
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
lea r9, [rsp + 0xa8]
mov r8d, 0x16
mov edx, 0x6054b50
mov rcx, qword [rsp + 0x1170]
call fcn.140012130
test eax, eax
jne 0x140012467
mov edx, 7
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov r9d, 0x16
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x1170]
mov rcx, qword [rax + 0x60]
mov rax, qword [rsp + 0x1170]
call qword [rax + 0x48]
cmp rax, 0x16
je 0x1400124ae
mov edx, 0x14
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x6054b50
je 0x1400124d2
mov edx, 8
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
cmp qword [rsp + 0xa8], 0x4c
jl 0x1400125d8
mov rax, qword [rsp + 0xa8]
sub rax, 0x14
mov r9d, 0x14
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rax, qword [rsp + 0x1170]
mov rcx, qword [rax + 0x60]
mov rax, qword [rsp + 0x1170]
call qword [rax + 0x48]
cmp rax, 0x14
jne 0x1400125d8
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0x7064b50
jne 0x1400125d8
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + 0xc]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax]
sub rax, 0x38
cmp qword [rsp + 0xc0], rax
jbe 0x140012588
mov edx, 8
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov r9d, 0x38
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x1170]
mov rcx, qword [rax + 0x60]
mov rax, qword [rsp + 0x1170]
call qword [rax + 0x48]
cmp rax, 0x38
jne 0x1400125d8
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x6064b50
jne 0x1400125d8
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
mov dword [rax + 0x64], 1
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0xa]
mov rcx, qword [rsp + 0x1170]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 8]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 4]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 6]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
cmp dword [rax + 0x64], 0
je 0x1400127e7
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x24]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1c]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x2c]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0x100], 0x2c
jae 0x1400126f5
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
cmp dword [rsp + 0xb0], 1
je 0x140012716
mov edx, 0xa
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, 0xffffffff
cmp qword [rsp + 0xc8], rax
jbe 0x14001273c
mov edx, 2
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x1170]
mov ecx, dword [rsp + 0xc8]
mov dword [rax + 0x10], ecx
mov eax, 0xffffffff
cmp qword [rsp + 0xd0], rax
jbe 0x140012774
mov edx, 2
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x68], eax
mov eax, 0xffffffff
cmp qword [rsp + 0xd8], rax
jbe 0x1400127a5
mov edx, 0xf
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x34]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x1170]
mov ecx, dword [rsp + 0x68]
cmp dword [rax + 0x10], ecx
je 0x14001280f
mov edx, 0xa
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x44]
or ecx, eax
mov eax, ecx
test eax, eax
je 0x140012844
cmp dword [rsp + 0x44], 1
jne 0x14001282d
cmp dword [rsp + 0x4c], 1
je 0x140012844
mov edx, 0xa
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x1170]
imul eax, dword [rax + 0x10], 0x2e
cmp dword [rsp + 0x20], eax
jae 0x14001286d
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1170]
cmp rax, qword [rcx]
jbe 0x1400128a3
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x1170]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x1170]
cmp dword [rax + 0x10], 0
je 0x140012f11
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1170]
mov rcx, qword [rcx + 0x68]
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x1170]
call fcn.1400104d0
test eax, eax
je 0x140012928
mov rax, qword [rsp + 0x1170]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x1170]
mov rcx, qword [rcx + 0x68]
add rcx, 0x20
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x1170]
call fcn.1400104d0
test eax, eax
jne 0x14001293f
mov edx, 0x10
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
cmp dword [rsp + 0x7c], 0
je 0x140012992
mov rax, qword [rsp + 0x1170]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x1170]
mov rcx, qword [rcx + 0x68]
add rcx, 0x40
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x1170]
call fcn.1400104d0
test eax, eax
jne 0x140012992
mov edx, 0x10
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1170]
mov rcx, qword [rcx + 0x68]
mov r9d, eax
mov r8, qword [rcx]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x1170]
mov rcx, qword [rax + 0x60]
mov rax, qword [rsp + 0x1170]
call qword [rax + 0x48]
mov ecx, dword [rsp + 0x20]
cmp rax, rcx
je 0x1400129e7
mov edx, 0x14
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x38], 0
jmp 0x140012a17
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x1170]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x38], eax
jae 0x140012f11
cmp dword [rsp + 0x48], 0x2e
jb 0x140012a40
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x2014b50
je 0x140012a57
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1170]
mov rcx, qword [rcx + 0x68]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
mov dword [rcx + rdx*4], eax
cmp dword [rsp + 0x7c], 0
je 0x140012aaa
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
mov ecx, dword [rsp + 0x38]
mov rax, qword [rax + 0x40]
mov edx, dword [rsp + 0x38]
mov dword [rax + rcx*4], edx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x2a]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x1c]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
cmp dword [rax + 0x68], 0
jne 0x140012d8e
cmp dword [rsp + 0x3c], 0
je 0x140012d8e
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x50], rax
jbe 0x140012b30
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rax
jmp 0x140012b40
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0xe0], rax
jbe 0x140012b92
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x50], rax
jbe 0x140012b70
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe8], rax
jmp 0x140012b80
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
jmp 0x140012ba2
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov eax, 0xffffffff
cmp qword [rsp + 0xf8], rax
jne 0x140012d8e
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140012d8e
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx + 0x2e]
cmp eax, dword [rsp + 0x48]
jbe 0x140012c86
mov eax, dword [rsp + 0x3c]
mov ecx, eax
call fcn.14004c1ac
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140012c16
mov edx, 0x10
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x88]
lea rcx, [rdx + rcx + 0x2e]
mov r9d, eax
mov r8, qword [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0x1170]
mov rcx, qword [rax + 0x60]
mov rax, qword [rsp + 0x1170]
call qword [rax + 0x48]
mov ecx, dword [rsp + 0x3c]
cmp rax, rcx
je 0x140012c77
mov rcx, qword [rsp + 0x60]
call fcn.14004c198
mov edx, 0x14
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
jmp 0x140012c9c
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x2e]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x40]
cmp rax, 4
jae 0x140012cc7
mov rcx, qword [rsp + 0x60]
call fcn.14004c198
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax + 2]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add rax, 4
mov ecx, dword [rsp + 0x40]
cmp rax, rcx
jbe 0x140012d1b
mov rcx, qword [rsp + 0x60]
call fcn.14004c198
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
cmp dword [rsp + 0xb4], 1
jne 0x140012d4d
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
mov dword [rax + 0x64], 1
mov rax, qword [rsp + 0x1170]
mov rax, qword [rax + 0x68]
mov dword [rax + 0x68], 1
jmp 0x140012d84
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
lea rax, [rcx + rax + 4]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x40]
sub rax, 4
mov ecx, dword [rsp + 0x70]
sub rax, rcx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140012c9c
mov rcx, qword [rsp + 0x60]
call fcn.14004c198
mov eax, 0xffffffff
cmp qword [rsp + 0x50], rax
je 0x140012ded
mov eax, 0xffffffff
cmp qword [rsp + 0x80], rax
je 0x140012ded
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xa], 0
jne 0x140012dc3
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x80], rax
jne 0x140012dd6
cmp qword [rsp + 0x80], 0
je 0x140012ded
cmp qword [rsp + 0x50], 0
jne 0x140012ded
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x22]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0xffff
je 0x140012e15
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x74], eax
je 0x140012e2c
cmp dword [rsp + 0x74], 1
je 0x140012e2c
mov edx, 0xa
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, 0xffffffff
cmp qword [rsp + 0x50], rax
je 0x140012e6e
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x2a]
mov rcx, qword [rsp + 0x50]
lea rax, [rax + rcx + 0x1e]
mov rcx, qword [rsp + 0x1170]
cmp rax, qword [rcx]
jbe 0x140012e6e
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 8]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
and eax, 0x2000
test eax, eax
je 0x140012ea5
mov edx, 5
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 0x1e]
lea eax, [rax + rcx + 0x2e]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 0x20]
add eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x78], eax
jbe 0x140012ee8
mov edx, 9
mov rcx, qword [rsp + 0x1170]
call fcn.140013280
jmp 0x140012f2a
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140012a0d
cmp dword [rsp + 0x7c], 0
je 0x140012f25
mov rcx, qword [rsp + 0x1170]
call fcn.140012f40
mov eax, 1
add rsp, 0x1168
ret