Function at 0x180004220
Capabilities:
Parse pe header

Disassembly:
push rbp
push rsi
push r15
mov rbp, rsp
mov eax, 0x70
call fcn.18003f800
sub rsp, rax
mov rsi, rcx
lea r15d, [rax - 0x6d]
call qword [0x1800a51d8]
test eax, eax
je 0x180004252
mov eax, r15d
add rsp, 0x70
pop r15
pop rsi
pop rbp
ret
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
xor r13d, r13d
mov qword [rsp + 0x48], r14
mov r12d, r13d
mov r14d, r13d
cmp dword [rsi], r12d
jle 0x180004e84
nop dword [rax]
lea rcx, [rbp + 0x20]
mov edx, r14d
call qword [0x1800a51c0]
test eax, eax
jne 0x180004eae
mov rcx, qword [rsi + r12*8 + 8]
test rcx, rcx
je 0x180004ea8
mov eax, dword [rbp + 0x20]
xor edx, edx
mov r8d, 0x2d8
mov dword [rcx], eax
mov rax, qword [rsi + r12*8 + 8]
mov dword [rax + 0x40], r14d
mov rbx, qword [rsi + r12*8 + 8]
lea rcx, [rbx + 0x48]
call fcn.180043300
lea rdx, [0x180004120]
lea rcx, [0x1800a4438]
call fcn.18000c480
mov rax, qword [0x1800a4428]
mov rcx, qword [rsi + r12*8 + 8]
mov r8, qword [rax + 0x38]
mov edx, dword [rbp + 0x20]
add rcx, 8
call qword [r8 + 0x10]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x48]
mov edx, 0x100
call qword [0x1800a5200]
test eax, eax
jne 0x180004eae
mov edx, dword [rbp + 0x20]
lea rcx, [rbx + 0x168]
call qword [0x1800a5210]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1b0]
lea edx, [rax + 0x4b]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1b4]
lea edx, [rax + 0x4c]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1c8]
lea edx, [rax + 0xf]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2a0]
lea edx, [rax + 0x28]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1cc]
lea edx, [rax + 0x10]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1d0]
lea edx, [rax + 0x11]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1d4]
lea edx, [rax + 0x12]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1d8]
lea edx, [rax + 0x13]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1e0]
lea edx, [rax + 0x15]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1e4]
lea edx, [rax + 0x4d]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1e8]
lea edx, [rax + 0x45]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1ec]
lea edx, [rax + 0x16]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1f0]
lea edx, [rax + 0x17]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1f4]
lea edx, [rax + 0x49]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1f8]
lea edx, [rax + 0x4a]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1fc]
lea edx, [rax + 0x46]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x200]
lea edx, [rax + 0x47]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x204]
lea edx, [rax + 0x48]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x208]
lea edx, [rax + 0x2d]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x20c]
lea edx, [rax + 0x2e]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x210]
lea edx, [rax + 0x18]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x214]
lea edx, [rax + 0x19]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x218]
lea edx, [rax + 0x1a]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x21c]
lea edx, [rax + 0x2f]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x220]
lea edx, [rax + 0x30]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x224]
lea edx, [rax + 0x31]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x228]
lea edx, [rax + 0x34]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x22c]
lea edx, [rax + 0x2a]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x230]
lea edx, [rax + 0x2b]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x234]
lea edx, [rax + 0x1b]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x238]
lea edx, [rax + 0x1c]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x23c]
lea edx, [rax + 0x1d]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x240]
lea edx, [rax + 0x35]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x244]
lea edx, [rax + 0x36]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x248]
lea edx, [rax + 0x37]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x24c]
lea edx, [rax + 0x38]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x250]
lea edx, [rax + 0x39]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x254]
lea edx, [rax + 0x3a]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x258]
lea edx, [rax + 0x3b]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x25c]
lea edx, [rax + 0x3c]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x260]
lea edx, [rax + 0x3d]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x264]
lea edx, [rax + 0x3e]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x268]
lea edx, [rax + 0x3f]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x26c]
lea edx, [rax + 0x40]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x270]
lea edx, [rax + 0x41]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x274]
lea edx, [rax + 0x42]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x278]
lea edx, [rax + 0x43]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x27c]
lea edx, [rax + 0x44]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x288]
lea edx, [rax + 0x1f]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x28c]
lea edx, [rax + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x290]
lea edx, [rax + 0x21]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x294]
lea edx, [rax + 0x22]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x298]
lea edx, [rax + 0x32]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea edx, [rax + 0x23]
lea rcx, [rbx + 0x29c]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2a4]
lea edx, [rax + 0x29]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2a8]
lea edx, [rax + 0x24]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2ac]
lea edx, [rax + 0x25]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2b0]
lea edx, [rax + 0x26]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2b4]
lea edx, [rax + 0x6c]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2b8]
lea edx, [rax + 0x27]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea edx, [rax + 0x1e]
lea rcx, [rbp + 0x30]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp + 0x30]
lea rcx, [rbp + 0x38]
mov edx, 0x33
mov qword [rbx + 0x280], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp + 0x38]
lea rcx, [rbp - 0x50]
mov edx, 8
mov qword [rbx + 0x1c0], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp - 0x50]
lea rcx, [rbp - 0x4c]
mov edx, 0x61
mov qword [rbx + 0x170], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp - 0x4c]
lea rcx, [rbp - 0x48]
mov edx, 0x51
mov qword [rbx + 0x300], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp - 0x48]
lea rcx, [rbx + 0x178]
mov edx, 0xc
mov qword [rbx + 0x2c8], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2d0]
lea edx, [rax + 0x52]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x17c]
lea edx, [rax + 0xa]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea edx, [rax + 0xb]
lea rcx, [rbp - 0x44]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp - 0x44]
lea rcx, [rbx + 0x188]
mov edx, 1
mov qword [rbx + 0x180], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x18c]
lea edx, [rax + 2]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x190]
mov edx, r15d
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x194]
lea edx, [rax + 4]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x198]
lea edx, [rax + 5]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x19c]
lea edx, [rax + 6]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x1a0]
lea edx, [rax + 7]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea edx, [rax + 9]
lea rcx, [rbp - 0x40]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp - 0x40]
lea rcx, [rbx + 0x1a4]
mov edx, 0xd
mov qword [rbx + 0x1a8], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea edx, [rax + 0xe]
lea rcx, [rbp - 0x3c]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
movsxd rax, dword [rbp - 0x3c]
lea rcx, [rbx + 0x2bc]
mov edx, 0x4e
mov qword [rbx + 0x1b8], rax
mov r8d, dword [rbp + 0x20]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2c0]
lea edx, [rax + 0x4f]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2c4]
lea edx, [rax + 0x50]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2d4]
lea edx, [rax + 0x53]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2d8]
lea edx, [rax + 0x54]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2dc]
lea edx, [rax + 0x55]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2e0]
lea edx, [rax + 0x56]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2e4]
lea edx, [rax + 0x57]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2e8]
lea edx, [rax + 0x58]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2ec]
lea edx, [rax + 0x59]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2f0]
lea edx, [rax + 0x5a]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2f4]
lea edx, [rax + 0x5b]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2f8]
lea edx, [rax + 0x5f]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x2fc]
lea edx, [rax + 0x60]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x308]
lea edx, [rax + 0x64]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x30c]
lea edx, [rax + 0x65]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov edx, dword [rbp + 0x20]
lea rcx, [rbx + 0x148]
call qword [0x1800a52c8]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x310]
lea edx, [rax + 0x6a]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea rcx, [rbx + 0x314]
lea edx, [rax + 0x6d]
call qword [0x1800a5230]
test eax, eax
jne 0x180004eae
mov r8d, dword [rbp + 0x20]
lea edx, [rax + 0x6f]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x28], r13d
call qword [0x1800a5230]
movsxd rax, dword [rbp + 0x28]
mov qword [rbx + 0x318], rax
cmp dword [rbx + 0x29c], r13d
jne 0x180004e75
mov r8d, dword [rbp + 0x20]
lea rdx, [rbx + 0x160]
lea rcx, [rbx + 0x158]
call qword [0x1800a52e0]
test eax, eax
jne 0x180004eae
inc r14d
inc r12
cmp r14d, dword [rsi]
jl 0x180004280
xor eax, eax
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x48]
add rsp, 0x70
pop r15
pop rsi
pop rbp
ret
mov r15d, 2
mov dword [rsi], r13d
mov eax, r15d
jmp 0x180004e86