Function at 0x14002e660
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140048e28], eax
jle 0x14002e706
lea rcx, [0x140048e28]
call fcn.14003207c
cmp dword [0x140048e28], 0xffffffff
jne 0x14002e706
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.14002b7f0
mov rcx, rax
call fcn.14002d9d0
mov r8d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140048f90], rax
lea rcx, [0x140048e28]
call fcn.14003201c
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140048e14], eax
jle 0x14002e753
lea rcx, [0x140048e14]
call fcn.14003207c
cmp dword [0x140048e14], 0xffffffff
jne 0x14002e753
mov rax, qword [0x140048f90]
mov qword [0x140048f58], rax
lea rcx, [0x140048e14]
call fcn.14003201c
mov rax, qword [0x140048f58]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002e76b
xor eax, eax
jmp 0x14002ec88
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140048f28], eax
jle 0x14002e7c9
lea rcx, [0x140048f28]
call fcn.14003207c
cmp dword [0x140048f28], 0xffffffff
jne 0x14002e7c9
mov rax, qword [0x140048f58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [0x140048f90]
add rcx, rax
mov rax, rcx
mov qword [0x140048f78], rax
lea rcx, [0x140048f28]
call fcn.14003201c
mov rax, qword [0x140048f78]
cmp dword [rax], 0x4550
je 0x14002e7df
xor eax, eax
jmp 0x14002ec88
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140048e68], eax
jle 0x14002e832
lea rcx, [0x140048e68]
call fcn.14003207c
cmp dword [0x140048e68], 0xffffffff
jne 0x14002e832
mov rax, qword [0x140048f78]
add rax, 0x108
mov qword [0x140048f68], rax
lea rcx, [0x140048e68]
call fcn.14003201c
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140048ef0], eax
jle 0x14002e87f
lea rcx, [0x140048ef0]
call fcn.14003207c
cmp dword [0x140048ef0], 0xffffffff
jne 0x14002e87f
mov rax, qword [0x140048f68]
mov qword [0x140049010], rax
lea rcx, [0x140048ef0]
call fcn.14003201c
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140048f10], eax
jle 0x14002e8d0
lea rcx, [0x140048f10]
call fcn.14003207c
cmp dword [0x140048f10], 0xffffffff
jne 0x14002e8d0
mov rax, qword [0x140048f78]
movzx eax, word [rax + 6]
mov word [0x140048ffc], ax
lea rcx, [0x140048f10]
call fcn.14003201c
mov r8d, 5
mov dl, 1
lea rcx, [0x140048da8]
call fcn.14001e4a0
movzx eax, al
test eax, eax
jne 0x14002e983
jmp 0x14002e903
mov rax, qword [0x140048f68]
add rax, 0x28
mov qword [0x140048f68], rax
movzx eax, word [0x140048ffc]
imul rax, rax, 0x28
mov rcx, qword [0x140049010]
add rcx, rax
mov rax, rcx
cmp qword [0x140048f68], rax
jae 0x14002e983
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x31]
call fcn.14002ecb0
mov rcx, rax
call fcn.14002d950
mov rcx, qword [0x140048f68]
mov rcx, qword [0x140048f68]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14002e973
inc rcx
test dl, dl
jne 0x14002e960
xor eax, eax
jmp 0x14002e978
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14002e97e
jmp 0x14002e983
jmp 0x14002e8f1
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140048ec0], eax
jle 0x14002e9e0
lea rcx, [0x140048ec0]
call fcn.14003207c
cmp dword [0x140048ec0], 0xffffffff
jne 0x14002e9e0
mov rax, qword [0x140048f68]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x140048f90]
add rcx, rax
mov rax, rcx
mov qword [0x140048fc0], rax
lea rcx, [0x140048ec0]
call fcn.14003201c
mov edx, 0x10
lea rcx, [rsp + 0x118]
call fcn.14001a6d0
mov rax, qword [0x140048f68]
mov eax, dword [rax + 0x10]
mov r8d, eax
mov rdx, qword [0x140048fc0]
lea rcx, [rsp + 0x118]
call fcn.14001b540
mov edx, 0xa
lea rcx, [rsp + 0x128]
call fcn.140030da0
mov qword [rsp + 0x40], 0
jmp 0x14002ea3d
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xa
jae 0x14002ea9c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x168]
add rdx, rcx
mov rcx, rdx
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x37]
call fcn.140030df0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x128]
call fcn.140030740
lea rdx, [rsp + 0x37]
mov rcx, rax
call fcn.140030d50
jmp 0x14002ea30
mov edx, 8
lea rcx, [rsp + 0x110]
call fcn.14001a6d0
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x35]
mov byte [rsp + 0x36], al
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x128]
call fcn.1400307c0
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x128]
call fcn.140030790
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x118]
call fcn.140030b10
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x118]
call fcn.140030b40
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.140030e30
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x118]
call fcn.140030b10
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140022d40
movzx eax, al
test eax, eax
je 0x14002ec71
mov qword [rsp + 0x48], 0
jmp 0x14002ec83
lea rcx, [rsp + 0x110]
call fcn.14001b4b0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140031c10
add rsp, 0x150
pop rdi
ret