Function at 0x180037cd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
imul esi, edx, 0x278
mov r15, r8
mov r13d, edx
mov r14, rcx
mov ebx, edx
mov dword [rbp + 0x7f], esi
cmp edx, esi
ja 0x1800380c3
mov rdi, qword [rbp + 0x7f]
xor r12d, r12d
nop
cmp ebx, 0x12b
ja 0x180037f35
je 0x180037f8d
mov eax, ebx
sub eax, 0x62
je 0x180037d9b
sub eax, 6
je 0x180037f7b
sub eax, 0xa8
je 0x180037d62
cmp eax, 0x17
jne 0x180037f68
lea r9d, [rax + 0x1e]
mov byte [rbp + 0x6f], 0
lea r8, [rbp + 0x6f]
mov qword [rsp + 0x20], r12
xor edx, edx
mov rcx, r15
call fcn.180009840
jmp 0x180037f68
movsxd rax, dword [r15 + 0x64]
test eax, eax
je 0x180037d8f
mov rcx, qword [r15 + 0x68]
lea rdx, [rax + rax*2]
mov r8, qword [r15 + 0x10]
mov rcx, qword [rcx + rdx*8 - 0x18]
call qword [r8 + 0x138]
test eax, eax
jne 0x180037d8f
mov dword [rbp - 0x39], r12d
jmp 0x180037f68
mov dword [rbp - 0x39], 1
jmp 0x180037f68
mov ebx, 0xffffffff
mov qword [rbp - 0x31], 0xffffffffffffffff
mov rdi, r12
lea r9, [rbp - 0x31]
mov r12d, dword [r15 + 0x200]
lea r8, [rbp - 0x29]
mov rcx, r15
lea edx, [rbx + 0x29]
call fcn.1800704e0
test rax, rax
js 0x180037f2b
xor esi, esi
mov qword [rsp + 0x30], rsi
lea rdx, [rbp - 0x29]
mov dword [rsp + 0x28], ILFree
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180072300
test eax, eax
jne 0x180037f28
mov dword [rsp + 0x28], 0x2d
lea rdx, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor ecx, ecx
call fcn.18007d7a0
cmp eax, r12d
jne 0x180037edc
lea rax, [rbp - 0x29]
mov r9d, 0x11b
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [r15 + 0xa0]
call fcn.180078570
xor eax, eax
lea r9, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rcx, [r15 + 0xa0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xed
call fcn.18002bce0
test eax, eax
je 0x180037ec1
jle 0x180037e99
xor r9d, r9d
mov dword [rsp + 0x20], 0xb6
mov r8, r14
lea rdx, [rbp - 9]
xor ecx, ecx
call fcn.18009bfa0
cmp ebx, 0xffffffff
je 0x180037e97
lea ecx, [rax + rbx]
movsxd rdx, ecx
sar rdx, 2
add rdi, rdx
mov ebx, eax
xor eax, eax
lea r9, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rcx, [r15 + 0xa0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xed
call fcn.18002bce0
test eax, eax
jne 0x180037e6a
lea r9, [rbp - 0x29]
xor r8d, r8d
mov edx, 0x127
xor ecx, ecx
call fcn.180074730
cmp rax, 0xffffffffffffffff
jne 0x180037f0f
xor esi, esi
lea r9, [rbp - 0x31]
mov qword [rbp - 0x31], 0xffffffffffffffff
lea r8, [rbp - 0x29]
mov edx, 0x28
mov rcx, r15
call fcn.1800704e0
test rax, rax
jns 0x180037dd0
mov esi, dword [rbp + 0x7f]
mov ebx, 0x62
xor r12d, r12d
jmp 0x180037f68
lea r9, [rbp - 0x29]
xor r8d, r8d
mov edx, 0x127
xor ecx, ecx
call fcn.180074730
sub rax, rdi
mov rdi, rax
mov esi, dword [rbp + 0x7f]
mov ebx, 0x62
xor r12d, r12d
jmp 0x180037f68
cmp ebx, 0x1ea0
je 0x180037f57
cmp ebx, 0x3cde
je 0x1800380c3
cmp ebx, 0x5500
je 0x1800380c3
jmp 0x180037f68
test rdi, rdi
mov rax, r12
cmovns rax, rdi
mov rdi, rax
mov qword [rbp - 0x39], rax
imul eax, r13d, 0x4f
add ebx, eax
cmp ebx, esi
jbe 0x180037d10
jmp 0x1800380c3
mov rax, qword [r15 + 0x20]
mov ecx, dword [rax + 0x1668]
mov dword [rbp - 0x39], ecx
jmp 0x1800380c3
mov edx, dword [r15]
lea eax, [rdx - 0x61]
cmp eax, 0x19
ja case.default.0x180037fb0
lea r8, [0x180000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0x380e4]
add rcx, r8
jmp rcx
mov dword [rbp - 0x39], 0x41
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x42
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x43
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x44
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x45
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x46
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x47
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x48
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x49
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x4a
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x4b
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x4c
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x4d
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x4e
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x4f
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x50
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x51
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x52
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x53
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x54
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x55
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x56
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x57
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x58
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x59
jmp 0x1800380c3
mov dword [rbp - 0x39], 0x5a
jmp 0x1800380c3
mov dword [rbp - 0x39], edx
mov rax, qword [rbp - 0x39]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret