Function at 0x345852e63
Capabilities:
Parse pe header

Disassembly:
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rdx
mov dword [rbp + 0x110], r8d
cmp qword [rbp + 0x100], 0
jne 0x345852e9c
mov eax, 0
jmp 0x345853146
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x345852ed2
mov eax, 0
jmp 0x345853146
mov rax, qword [rbp + 0xd0]
mov eax, dword [rax + 0x3c]
cdqe
mov rdx, qword [rbp + 0xd8]
add rax, rdx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x345852f09
mov eax, 0
jmp 0x345853146
mov rdx, qword [rbp + 0xc8]
lea rax, [rbp - 0x60]
add rdx, 0x18
mov ecx, 0xf0
mov r8, rcx
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, dword [rbp + 0x10]
mov edx, eax
mov rax, qword [rbp + 0xd8]
add rax, rdx
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0xd8]
add rax, rdx
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xc0]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0xd8]
add rax, rdx
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xc0]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0xd8]
add rax, rdx
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xec], 0
mov dword [rbp + 0xe8], 0
jmp 0x34585312b
mov eax, dword [rbp + 0xe8]
lea rdx, [rax*4]
mov rax, qword [rbp + 0xb8]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0xd8]
add rax, rdx
mov qword [rbp + 0xa0], rax
mov eax, dword [rbp + 0xe8]
lea rdx, [rax + rax]
mov rax, qword [rbp + 0xa8]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
lea rdx, [rax*4]
mov rax, qword [rbp + 0xb0]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0xd8]
add rax, rdx
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xe4], 0
jmp 0x3458530fd
mov eax, dword [rbp + 0xe4]
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov rax, qword [rax + 8]
mov rdx, qword [rbp + 0xa0]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x3458530f6
mov eax, dword [rbp + 0xe4]
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov eax, dword [rax]
cmp eax, 1
jne 0x3458530ab
mov rax, qword [rbp + 0x98]
add rax, 4
movzx eax, byte [rax]
mov edx, dword [rbp + 0xe4]
mov rcx, rdx
shl rcx, 5
mov rdx, qword [rbp + 0x108]
add rdx, rcx
mov rdx, qword [rdx + 0x10]
movzx eax, al
mov dword [rdx], eax
jmp 0x3458530ed
mov eax, dword [rbp + 0xe4]
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov eax, dword [rax]
test eax, eax
jne 0x3458530ed
mov eax, dword [rbp + 0xe4]
shl rax, 5
mov rdx, rax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov rax, qword [rax + 0x18]
mov rdx, qword [rbp + 0x98]
mov qword [rax], rdx
add dword [rbp + 0xec], 1
jmp 0x34585310f
add dword [rbp + 0xe4], 1
mov eax, dword [rbp + 0xe4]
cmp eax, dword [rbp + 0x110]
jb 0x34585302b
mov eax, dword [rbp + 0xec]
cmp eax, dword [rbp + 0x110]
jne 0x345853124
mov eax, 1
jmp 0x345853146
add dword [rbp + 0xe8], 1
mov rax, qword [rbp + 0xc0]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0xe8], eax
jb 0x345852fae
mov eax, 0
add rsp, 0x170
pop rbp
ret