Function at 0x140048500
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [rdx + 0x18]
lea rdi, [rcx + 0x70]
mov r15d, dword [r9]
lea r12, [rcx + 0x90]
mov dword [rbp + 0x40], eax
xor ebx, ebx
add eax, 0xffffffc0
xor esi, esi
mov r13, rdx
mov r14, rcx
cmp eax, 0x3a
ja case.0x140048566.71
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x49344]
mov ecx, dword [rdx + rax*4 + 0x492b0]
add rcx, rdx
jmp rcx
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
cmp qword [rdi + 0x10], rsi
je 0x14004858f
mov rsi, qword [r12 + 0x10]
cmp dword [r12], 0x1a
jne 0x1400485a6
add rsi, qword [r12 + 0x10]
mov r15d, 0x68
jmp 0x14004877b
cmp dword [r12], 0xc
jne 0x14004927a
mov r15d, 0x69
jmp 0x140049282
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.140047a40
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 0xc
mov rsi, qword [rdi + 0x10]
jne 0x14004927a
test rsi, rsi
je 0x14004927a
mov r15d, 0x67
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov ecx, dword [r12]
mov rsi, qword [rdi + 0x10]
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x1400486ab
cmp ecx, 0xc
jne 0x140049282
add qword [r14 + 0x20], rsi
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005af20]
mov rcx, r14
call fcn.140048474
xor r12d, r12d
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x14004865e
lea r15d, [r12 + 0x6e]
jmp 0x140048691
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005ad18]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x14004868c
mov r15d, 0x6a
jmp 0x140048691
mov byte [r13 + 0x1c], 1
mov rax, qword [rdi + 0x10]
add rsi, rax
cmp byte [r13 + 0x1c], r12b
jne 0x140049282
add qword [r14 + 0x20], rax
jmp 0x14004877f
add rsi, qword [r12 + 0x10]
mov r15d, 0x74
mov dword [r14 + 0x150], ecx
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov ecx, dword [r12]
mov rsi, qword [r12 + 0x10]
add rsi, qword [rdi + 0x10]
lea eax, [rcx - 9]
cmp eax, 1
ja 0x14004927a
mov dword [r14 + 0x150], ecx
mov r15d, 0x6b
jmp 0x140049282
mov r8d, dword [r14 + 0x150]
xor r9d, r9d
mov rdx, rdi
mov rcx, r14
call fcn.1400481c4
mov ebx, eax
test eax, eax
js 0x140049297
mov eax, dword [rbp + 0x40]
mov rsi, qword [rdi + 0x10]
cmp eax, 0x6b
je 0x140048742
cmp eax, 0x74
jne 0x140049282
lea r15d, [rax + 1]
jmp 0x140049282
mov r15d, 0x6c
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
mov eax, dword [r14 + 0x150]
mov rsi, qword [rdi + 0x10]
cmp dword [rdi], eax
jne 0x14004927a
mov r15d, 0x6d
add qword [r14 + 0x20], rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
add rsi, qword [rdi + 0x10]
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 6
mov rsi, qword [rdi + 0x10]
jne 0x1400487c9
mov r15d, 0x77
jmp 0x140049282
cmp dword [rdi], 0xc
jne 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005af00]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], 0
mov rsi, qword [rdi + 0x10]
jne 0x14004927a
add qword [r14 + 0x20], rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
add rsi, qword [rdi + 0x10]
mov r15d, 0x72
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
mov ecx, dword [rdi]
mov rsi, qword [rdi + 0x10]
lea eax, [rcx - 9]
cmp eax, 1
ja 0x14004927a
mov r15d, 0x6f
mov dword [r14 + 0x150], ecx
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.140048088
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
mov r15d, 0x70
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
test eax, eax
js 0x140049297
mov eax, dword [r14 + 0x150]
mov rsi, qword [rdi + 0x10]
cmp dword [rdi], eax
jne 0x14004927a
mov r15d, 0x71
jmp 0x14004877b
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
test eax, eax
js 0x140049297
mov ecx, dword [rdi]
mov rsi, qword [rdi + 0x10]
lea eax, [rcx - 9]
cmp eax, 1
ja 0x14004927a
mov r15d, 0x6b
jmp 0x140048858
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.140047a40
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 0xc
mov rsi, qword [rdi + 0x10]
jne 0x14004927a
mov r15d, 0x73
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [r12 + 0x10]
add rsi, qword [rdi + 0x10]
cmp dword [r12], 6
jne 0x14004927a
jmp 0x1400487be
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
test eax, eax
js 0x140049297
mov eax, dword [r14 + 0x150]
mov rsi, qword [rdi + 0x10]
cmp dword [rdi], eax
jne 0x14004927a
mov r15d, 0x76
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x1400489a7
mov r15d, 0x4b
jmp 0x140049282
add qword [r14 + 0x20], rsi
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140047a40
mov ebx, eax
test eax, eax
js 0x140049297
add rsi, qword [rdi + 0x10]
cmp dword [rdi], 0xc
jne 0x14004927a
cmp qword [rdi + 0x10], 0
je 0x14004927a
mov eax, dword [r12]
sub eax, 0x15
neg eax
sbb r15d, r15d
add r15d, 0x4d
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140047a40
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 0xc
mov rsi, qword [rdi + 0x10]
jne 0x14004927a
test rsi, rsi
je 0x14004927a
mov r15d, 0x4c
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 0x15
je 0x140048a48
mov byte [r13 + 0x1c], 1
mov rsi, qword [rdi + 0x10]
mov r15d, 0x4e
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140048a86
mov rsi, rax
mov r15d, 0x4f
jmp 0x140049282
cmp dword [r12], 6
jne 0x140048a9d
mov rsi, qword [r12 + 0x10]
mov r15d, 0x65
jmp 0x140049282
cmp dword [r12], 0xc
jne 0x14004927a
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140047a40
mov ebx, eax
test eax, eax
js 0x140049297
mov eax, dword [r12]
mov rsi, qword [rdi + 0x10]
sub eax, 0x15
neg eax
sbb r15d, r15d
add r15d, 0x51
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140047a40
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 0xc
mov rsi, qword [rdi + 0x10]
jne 0x14004927a
test rsi, rsi
je 0x14004927a
mov r15d, 0x50
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 0x15
je 0x140048b31
mov byte [r13 + 0x1c], 1
mov rsi, qword [rdi + 0x10]
mov r15d, 0x52
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [r12], 0x13
mov rsi, qword [rdi + 0x10]
jne 0x140048b73
add rsi, qword [r12 + 0x10]
mov r15d, 0x5b
jmp 0x140049282
cmp dword [r12], 0xc
jne 0x140049282
add qword [r14 + 0x20], rsi
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005aee0]
mov rcx, r14
call fcn.140048474
xor r12d, r12d
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048bb9
add rsi, qword [rdi + 0x10]
lea r15d, [r12 + 0x53]
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005ae70]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048bee
add rsi, qword [rdi + 0x10]
mov r15d, 0x54
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005ad68]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048c23
add rsi, qword [rdi + 0x10]
mov r15d, 0x55
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005aea0]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048c58
add rsi, qword [rdi + 0x10]
mov r15d, 0x56
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005ae60]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048c8d
add rsi, qword [rdi + 0x10]
mov r15d, 0x57
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005aec0]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048cc2
add rsi, qword [rdi + 0x10]
mov r15d, 0x58
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005ae80]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048cf7
add rsi, qword [rdi + 0x10]
mov r15d, 0x59
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005af10]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048d2c
add rsi, qword [rdi + 0x10]
mov r15d, 0x5a
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005ae50]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
add rsi, qword [rdi + 0x10]
cmp dword [rbp + 0x40], r12d
jne 0x140048d61
mov r15d, 0x5e
jmp 0x140049282
cmp byte [r13 + 0x1c], r12b
jne 0x140049282
jmp 0x14004877b
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [r12], 0x13
jne 0x14004927a
mov rsi, qword [rdi + 0x10]
inc rsi
jmp 0x140048b68
xor r9d, r9d
mov rdx, rdi
mov rcx, r14
lea r8d, [r9 + 0x14]
call fcn.1400481c4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
mov r15d, 0x5c
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 0x14
jne 0x14004927a
mov rsi, qword [rdi + 0x10]
mov r15d, 0x5d
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
add qword [r14 + 0x20], rsi
mov ecx, dword [r12]
cmp ecx, 0x19
jne 0x140048f22
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
xor r12d, r12d
test eax, eax
js 0x140049297
mov rax, qword [rdi + 0x10]
lea r9, [rbp + 0x40]
add qword [r14 + 0x20], rax
lea rdx, [0x14005aeb0]
mov r8, rdi
mov rcx, r14
add rsi, rax
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048e79
add rsi, qword [rdi + 0x10]
lea r15d, [r12 + 0x60]
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005adf0]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x140048eae
add rsi, qword [rdi + 0x10]
mov r15d, 0x5f
jmp 0x140049282
lea r9, [rbp + 0x40]
mov r8, rdi
lea rdx, [0x14005ae40]
mov rcx, r14
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], r12d
jne 0x14004927a
add rsi, qword [rdi + 0x10]
mov r15d, 0x61
jmp 0x140049282
mov dword [r14 + 0x150], ecx
mov r15d, 0x62
add rsi, qword [r12 + 0x10]
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
add qword [r14 + 0x20], rsi
mov ecx, dword [r12]
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x140048ee7
jmp 0x14004927a
mov r8d, dword [r14 + 0x150]
xor r9d, r9d
mov rdx, rdi
mov rcx, r14
call fcn.1400481c4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
mov r15d, 0x63
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
mov eax, dword [r14 + 0x150]
cmp dword [rdi], eax
je 0x140048f8c
mov ecx, 0xc000a083
call fcn.14004dd88
jmp 0x140049297
mov rsi, qword [rdi + 0x10]
mov r15d, 0x64
jmp 0x140049282
xor r9d, r9d
mov rdx, rdi
mov rcx, r14
lea r8d, [r9 + 6]
call fcn.1400481c4
mov ebx, eax
test eax, eax
js 0x140049297
mov eax, dword [rbp + 0x40]
mov rsi, qword [rdi + 0x10]
cmp eax, 0x48
je 0x140048fd5
cmp eax, 0x78
jne 0x140049282
lea r15d, [rax + 1]
jmp 0x140049282
mov r15d, 0x49
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 6
mov rsi, qword [rdi + 0x10]
jne 0x14004927a
mov eax, dword [rbp + 0x40]
cmp eax, 0x49
je 0x14004901c
cmp eax, 0x79
jne 0x140049282
lea r15d, [rax + 1]
jmp 0x140049282
mov r15d, 0x4a
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], esi
je 0x14004927a
mov rsi, qword [r12 + 0x10]
add rsi, qword [rdi + 0x10]
cmp dword [rdi], 0xd
je 0x140049056
int3
cmp dword [r12], 6
jne 0x14004927a
mov r15d, 0x47
jmp 0x140049282
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x14004927a
cmp dword [rdi], 0xd
jne 0x14004927a
mov r15d, 0x41
jmp 0x140049282
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x1400490cb
cmp dword [rdi], 0xd
je 0x14004909a
cmp dword [r12], 0xc
jne 0x14004927a
add qword [r14 + 0x20], rsi
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140047a40
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x14004910b
cmp dword [rdi], 0xc
jne 0x14004910b
mov r15d, 0x42
jmp 0x140049282
mov byte [r13 + 0x1c], 1
mov rsi, qword [r12 + 0x10]
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.140047f08
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [rdi + 0x10]
mov r15d, 0x43
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rdi], 6
mov rsi, qword [rdi + 0x10]
je 0x140049061
cmp dword [rdi], 0xe
jne 0x14004927a
mov r15d, 0x44
jmp 0x140049282
mov rdx, rdi
mov rcx, r14
call fcn.1400471dc
test eax, eax
js 0x140049297
cmp dword [rdi], 0xd
mov rsi, qword [rdi + 0x10]
jne 0x1400491b8
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call fcn.1400473f4
mov ebx, eax
test eax, eax
js 0x140049297
mov rsi, qword [r12 + 0x10]
mov r15d, 0x45
jmp 0x140049282
cmp dword [rdi], 3
je 0x14004927a
cmp dword [rdi], 0xf
jne 0x1400491d1
mov r15d, 0x46
jmp 0x140049282
cmp dword [rdi], 0x1a
jne 0x1400491e0
mov ecx, 0xc0000002
jmp 0x140048f82
cmp dword [rdi], 7
jne 0x14004927a
add qword [r14 + 0x20], rsi
mov rdx, r12
mov rcx, r14
call fcn.1400471dc
test eax, eax
js 0x140049297
mov rax, qword [r12 + 0x10]
add rsi, rax
cmp dword [r12], 0x10
jne 0x14004927a
add qword [r14 + 0x20], rax
xor r12d, r12d
lea rax, [0x140000000]
mov edx, r12d
add rdx, rdx
lea r9, [rbp + 0x40]
mov r8, rdi
mov rcx, r14
mov rdx, qword [rax + rdx*8 + 0x5ad90]
call fcn.140048474
mov ebx, eax
test eax, eax
js 0x140049297
cmp dword [rbp + 0x40], 0
je 0x140049255
inc r12d
cmp r12d, 4
jne 0x140049216
mov rax, qword [rdi + 0x10]
jmp 0x140049277
mov eax, r12d
lea rcx, [0x140000000]
add rax, rax
mov r15d, dword [rcx + rax*8 + 0x5ad98]
mov rax, qword [rdi + 0x10]
add rsi, rax
cmp r12d, 4
jne 0x140049282
add rsi, rax
mov byte [r13 + 0x1c], 1
jmp 0x140049282
int3
mov rax, qword [rbp + 0x50]
mov qword [rax], rsi
mov rax, qword [rbp + 0x58]
cmp dword [rax], r15d
je 0x140049295
mov dword [rax], r15d
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret