Function at 0x180004940
Capabilities:
Parse pe header

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