Function at 0x1400f28f0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x78
and dword [rbp - 0x58], 0
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
test r9, r9
jne 0x1400f2955
cmp dword [0x140194650], r9d
je 0x1400f2b78
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rbx, rbx
cmove rbx, rax
mov qword [rbp + 0x30], rbx
cmp rbx, rax
jne 0x1400f2955
mov eax, dword [rbp - 0x58]
test edi, edi
mov ecx, 1
cmove eax, ecx
mov dword [rbp - 0x58], eax
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.1400e3a2c
test rax, rax
je 0x1400f2979
mov rdx, qword [rax + 8]
mov eax, 1
mov qword [rbp - 0x48], rdx
jmp 0x1400f2981
mov rcx, qword [rbp + 0x40]
mov qword [rbp - 0x48], rcx
movzx ecx, al
xor eax, eax
test ecx, ecx
sete al
test edi, edi
cmovne eax, ecx
test eax, eax
jne 0x1400f2b78
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400f2b78
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x1400f2b78
mov eax, dword [rax + rbx + 0x90]
mov dword [rbp - 0x54], eax
test eax, eax
je 0x1400f2b78
lea rdx, [rbp + 0x30]
mov rcx, rsi
test edi, edi
je 0x1400f29df
call fcn.1400f2be8
and qword [rax], 0
jmp 0x1400f2a12
lea r8, [rbp - 0x50]
call fcn.1400e3a2c
mov rdi, rax
test rax, rax
jne 0x1400f2a03
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov r8, qword [rbp - 0x50]
mov rdx, rdi
mov rcx, rsi
call fcn.1400f2c7c
mov edi, dword [rbp - 0x54]
add rdi, rbx
jmp 0x1400f2b5d
add rax, rbx
lea rdx, str.KERNEL32.DLL
mov rcx, rax
mov qword [rbp - 0x40], rax
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x1400f2b2e
mov eax, dword [rdi]
mov esi, dword [rdi + 0x10]
add rax, rbx
add rsi, rbx
mov rcx, qword [rax]
mov qword [rbp - 0x50], rax
test rcx, rcx
je 0x1400f2b55
movabs rdx, 0x8000000000000000
test rdx, rcx
jne 0x1400f2ad6
add rcx, 2
lea rdx, str.SetUnhandledExceptionFilter
add rcx, rbx
call sub.MSVCR120.dll_strcmp
test eax, eax
jne 0x1400f2ad2
mov rax, qword [rsi]
xor ecx, ecx
lea rdx, [0x1400f2be4]
cmp rax, rdx
mov qword [rbp - 0x40], rax
mov eax, 1
setne cl
cmp dword [rbp + 0x38], 0
cmovne eax, ecx
test eax, eax
je 0x1400f2ad2
lea rdx, [rbp - 0x38]
mov r8d, gethostbyname
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x38]
lea r9, [rbp - 0x54]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400f2ae3
mov rax, qword [rbp - 0x50]
add rax, 8
add rsi, 8
jmp 0x1400f2a47
mov rax, qword [rbp - 0x48]
cmp dword [rbp + 0x38], 0
mov r8d, dword [rbp - 0x14]
mov rdx, qword [rbp - 0x20]
lea rcx, [0x1400f2be4]
lea r9, [rbp - 0x54]
cmovne rax, rcx
mov rcx, qword [rbp - 0x38]
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [rbp + 0x38], 0
mov rsi, qword [rbp + 0x28]
je 0x1400f2b59
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.1400f2be8
mov rcx, qword [rbp - 0x40]
mov qword [rax], rcx
jmp 0x1400f2b59
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400f2b59
mov r9, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
mov rdx, rax
inc r9
mov rcx, rsi
call fcn.1400f28f0
jmp 0x1400f2b59
mov rsi, qword [rbp + 0x28]
add rdi, 0x14
mov eax, dword [rdi + 0xc]
test eax, eax
jne 0x1400f2a1d
cmp dword [rbp - 0x58], eax
je 0x1400f2b78
lea edx, [rax + 1]
mov rcx, rsi
call fcn.1400e3548
add rsp, 0x78
pop rdi
pop rsi
pop rbx
pop rbp
ret