Function at 0x2870c1940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x1a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], rcx
mov dword [rbp + 0x148], edx
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xe0], 0
mov dword [rbp + 0xdc], 0
cmp qword [rbp + 0x140], 0
je 0x2870c19c1
cmp dword [rbp + 0x148], 0
jne 0x2870c19cb
mov eax, 0
jmp 0x2870c1cc5
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2870c1a03
mov eax, 0
jmp 0x2870c1cc5
mov rax, qword [rbp + 0x100]
mov eax, dword [rax + 0x88]
mov edx, eax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax + 0x8c]
mov dword [rbp + 0xdc], eax
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x11c], 0
jmp 0x2870c1caa
mov eax, dword [rbp + 0x11c]
lea rdx, [rax*4]
mov rax, qword [rbp + 0xf0]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0xd0], rax
mov eax, dword [rbp + 0x11c]
lea rdx, [rax + rax]
mov rax, qword [rbp + 0xe0]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
lea rdx, [rax*4]
mov rax, qword [rbp + 0xe8]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sym.CRC32B
cmp dword [rbp + 0x148], eax
jne 0x2870c1ca3
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xf8]
cmp rdx, rax
jb 0x2870c1c9a
mov edx, dword [rbp + 0xdc]
mov rax, qword [rbp + 0xf8]
add rax, rdx
mov rdx, qword [rbp + 0xc8]
cmp rdx, rax
jae 0x2870c1c9a
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x20
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
mov dword [rbp + 0x118], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb8], 0
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call sym.strlen
mov rcx, rax
mov rdx, qword [rbp + 0xc8]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call sym.Memcpy
mov dword [rbp + 0x114], 0
jmp 0x2870c1c05
mov eax, dword [rbp + 0x114]
cdqe
lea rdx, [rbp - 0x60]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0x2e
jne 0x2870c1bfe
mov eax, dword [rbp + 0x114]
mov dword [rbp + 0x118], eax
mov eax, dword [rbp + 0x114]
cdqe
mov byte [rbp + rax - 0x60], 0
jmp 0x2870c1c1f
add dword [rbp + 0x114], 1
mov eax, dword [rbp + 0x114]
movsxd rbx, eax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.strlen
cmp rbx, rax
jb 0x2870c1bcd
lea rax, [rbp - 0x60]
mov qword [rbp + 0xc0], rax
mov eax, dword [rbp + 0x118]
lea rdx, [rax + 1]
lea rax, [rbp - 0x60]
add rax, rdx
mov qword [rbp + 0xb8], rax
mov ecx, 0x6ae69f02
call sym.GetModuleHandleH
mov edx, 0x3fc1bd8d
mov rcx, rax
call sym.GetProcAddressH
mov qword [rbp + 0xb0], rax
cmp qword [rbp + 0xb0], 0
je 0x2870c1c9a
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sym.CRC32B
mov ebx, eax
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xb0]
mov rcx, rax
call rdx
mov edx, ebx
mov rcx, rax
call sym.GetProcAddressH
jmp 0x2870c1cc5
mov rax, qword [rbp + 0xc8]
jmp 0x2870c1cc5
add dword [rbp + 0x11c], 1
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0x11c], eax
jb 0x2870c1a9c
mov eax, 0
add rsp, 0x1a0
pop rbx
pop rdi
pop rbp
ret