Function at 0x18000c67c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebp, 1
mov ebx, r8d
xor esi, esi
mov edi, edx
mov r11, rcx
mov r10d, ebp
lea eax, [rbp + 0x7f]
cmp edx, eax
jg 0x18000caa7
je 0x18000ca96
cmp edx, 0x1e
jg 0x18000c90d
je 0x18000c901
cmp edx, 0x14
jg 0x18000c855
je 0x18000c831
sub edx, 7
je 0x18000c829
sub edx, ebp
je 0x18000c7dd
sub edx, ebp
je 0x18000c7ab
sub edx, ebp
je 0x18000c79b
sub edx, 4
je 0x18000c791
sub edx, ebp
je 0x18000c787
sub edx, ebp
je 0x18000c76f
lea ecx, [rbp + 2]
cmp edx, ecx
jne 0x18000ce6b
mov dword [r9], 0x20
mov dword [r9 + 8], 0x21
cmp ebx, 0xc
jne 0x18000c737
lea eax, [rbp + 4]
mov dword [r9 + 0xc], 6
mov dword [r9 + 4], eax
jmp 0x18000c764
cmp ebx, 0xd
jne 0x18000c749
mov dword [r9 + 4], 6
lea eax, [rbx - 8]
jmp 0x18000c760
mov ecx, ebx
call fcn.18000c580
mov dword [r9 + 4], eax
mov ecx, dword [r11 + 0x49b4]
call fcn.18000c580
mov dword [r9 + 0xc], eax
mov r10d, 2
jmp 0x18000ceed
mov dword [r9], 0x43
test r8d, r8d
mov eax, esi
setne al
mov dword [r9 + 4], eax
jmp 0x18000ceed
mov ecx, 3
mov dword [r9], ecx
jmp 0x18000c776
mov edx, 2
mov dword [r9], edx
jmp 0x18000c776
mov dword [r9], 0x1f
mov dword [r9 + 4], ebx
jmp 0x18000ceed
mov dword [r9], 0x1e
mov eax, ebx
sub eax, ebp
je 0x18000c7d2
sub eax, ebp
je 0x18000c7cb
cmp eax, ebp
je 0x18000c7c4
mov ecx, esi
jmp 0x18000c7d4
mov ecx, 3
jmp 0x18000c7d4
mov ecx, 2
jmp 0x18000c7d4
mov ecx, ebp
mov dword [r9 + 4], ecx
jmp 0x18000ceed
mov eax, ebx
mov dword [r9], 0x1d
sub eax, ebp
je 0x18000c811
sub eax, ebp
je 0x18000c805
cmp eax, ebp
je 0x18000c7f9
mov word [rsp + 0x38], si
jmp 0x18000c816
mov ecx, 3
mov word [rsp + 0x38], cx
jmp 0x18000c816
mov edx, 2
mov word [rsp + 0x38], dx
jmp 0x18000c816
mov word [rsp + 0x38], bp
mov eax, 4
mov word [rsp + 0x3a], ax
mov eax, dword [rsp + 0x38]
jmp 0x18000c77e
mov dword [r9], ebp
jmp 0x18000c7a2
mov eax, dword [rcx + 0x49b0]
sub eax, 0xc
cmp eax, ebp
jbe 0x18000ce72
mov ecx, ebx
mov dword [r9], 0x21
call fcn.18000c580
jmp 0x18000cee4
mov ecx, edi
sub ecx, 0x16
je 0x18000c8f5
sub ecx, ebp
je 0x18000c8ec
sub ecx, ebp
je 0x18000c8c3
sub ecx, ebp
je 0x18000c8b0
sub ecx, ebp
je 0x18000c8a9
sub ecx, ebp
je 0x18000c89c
sub ecx, ebp
je 0x18000c890
cmp ecx, ebp
jne 0x18000ce6b
mov dword [r9], 7
jmp 0x18000c776
mov dword [r9], 6
jmp 0x18000c776
mov eax, 5
mov dword [r9], eax
jmp 0x18000c776
mov eax, 4
jmp 0x18000c8a1
mov dword [r9], 0x25
mov ecx, ebx
call fcn.18000c620
jmp 0x18000c77e
xorps xmm0, xmm0
movzx eax, bl
mov dword [r9], 0x2a
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1800510b8]
cvtpd2ps xmm0, xmm0
movss dword [r9 + 4], xmm0
jmp 0x18000ceed
mov dword [r9], 0x24
jmp 0x18000c8b7
mov dword [r9], 0x23
jmp 0x18000c7b2
mov dword [r9], 0x42
jmp 0x18000c776
cmp edi, 0x35
jg 0x18000ca25
je 0x18000ca12
mov ecx, edi
sub ecx, 0x22
je 0x18000ca06
sub ecx, ebp
je 0x18000c995
sub ecx, ebp
je 0x18000c989
sub ecx, ebp
je 0x18000c97d
sub ecx, ebp
je 0x18000c971
sub ecx, 9
je 0x18000c965
sub ecx, ebp
je 0x18000c959
mov eax, 4
cmp ecx, eax
jne 0x18000ce6b
mov dword [r9], 8
jmp 0x18000c776
mov dword [r9], 0x2e
jmp 0x18000c776
mov dword [r9], 0x2d
jmp 0x18000c7a2
mov dword [r9], 0x12
jmp 0x18000c7a2
mov dword [r9], 0x11
jmp 0x18000c7a2
mov dword [r9], 0x10
jmp 0x18000c7a2
mov dword [r9], 0x1c
mov edx, 2
mov dword [r11 + 0x49bc], ebx
test r8d, r8d
jne 0x18000c9bb
mov eax, dword [r11 + 0x49b8]
mov byte [rsp + 0x3a], bpl
jmp 0x18000c9c1
mov eax, ebx
mov byte [rsp + 0x3a], dl
test eax, eax
je 0x18000c9f2
sub eax, ebp
je 0x18000c9eb
sub eax, ebp
je 0x18000c9e4
cmp eax, ebp
je 0x18000c9d8
mov word [rsp + 0x38], si
jmp 0x18000c9fc
mov ecx, 3
mov word [rsp + 0x38], cx
jmp 0x18000c9fc
mov word [rsp + 0x38], dx
jmp 0x18000c9fc
mov word [rsp + 0x38], bp
jmp 0x18000c9fc
mov eax, 4
mov word [rsp + 0x38], ax
mov byte [rsp + 0x3b], bpl
jmp 0x18000c820
mov dword [r9], 0x19
jmp 0x18000c7a2
mov dword [r9], 0x27
mov ecx, ebx
call fcn.18000c620
jmp 0x18000c77e
mov ecx, edi
sub ecx, 0x36
je 0x18000ca8d
sub ecx, ebp
je 0x18000ca84
sub ecx, ebp
je 0x18000ca78
sub ecx, ebp
je 0x18000ca6c
sub ecx, ebp
je 0x18000ca60
sub ecx, ebp
je 0x18000ca54
cmp ecx, ebp
jne 0x18000ce6b
mov dword [r9], 0x35
jmp 0x18000c7a2
mov dword [r9], 0xf
jmp 0x18000c7a2
mov dword [r9], 0xe
jmp 0x18000c7a2
mov dword [r9], 0xd
jmp 0x18000c7a2
mov dword [r9], 0x26
jmp 0x18000c8b7
mov dword [r9], 0x29
jmp 0x18000ca19
mov dword [r9], 0x28
jmp 0x18000ca19
mov dword [r9], 0x45
mov eax, ebx
and eax, 0xf
jmp 0x18000c77e
mov eax, 0xba
cmp edi, eax
jg 0x18000ccf1
je 0x18000cce5
mov eax, 0x9c
cmp edi, eax
jg 0x18000cb9a
je 0x18000cb8e
mov eax, 0x86
cmp edi, eax
jg 0x18000cb32
je 0x18000cb26
mov ecx, edi
sub ecx, 0x81
je 0x18000cb1a
sub ecx, ebp
je 0x18000cb11
sub ecx, ebp
je 0x18000cb08
sub ecx, ebp
je 0x18000caff
cmp ecx, ebp
jne 0x18000ce6b
mov dword [r9], 0x4a
jmp 0x18000ca9d
mov dword [r9], 0x49
jmp 0x18000ca9d
mov dword [r9], 0x48
jmp 0x18000ca9d
mov dword [r9], 0x47
jmp 0x18000ca9d
mov dword [r9], 0x46
jmp 0x18000ca9d
mov dword [r9], 0x4b
jmp 0x18000ca9d
mov ecx, edi
sub ecx, 0x87
je 0x18000cb82
sub ecx, ebp
je 0x18000cb76
sub ecx, 0x10
je 0x18000cb6a
sub ecx, 2
je 0x18000cb5e
cmp ecx, ebp
jne 0x18000ce6b
mov dword [r9], 0x14
jmp 0x18000c7a2
mov dword [r9], 0x13
jmp 0x18000c7a2
mov dword [r9], 0x1b
jmp 0x18000c7a2
mov dword [r9], 0x44
jmp 0x18000c776
mov dword [r9], 0x4c
jmp 0x18000ca9d
mov dword [r9], 0xb
jmp 0x18000c776
mov eax, 0xae
cmp edi, eax
jg 0x18000cc6f
je 0x18000cc63
mov r8d, edi
sub r8d, 0xa1
je 0x18000cc55
sub r8d, ebp
je 0x18000cc49
mov eax, 4
sub r8d, eax
je 0x18000cc3d
lea edx, [rax - 2]
sub r8d, edx
je 0x18000cc31
lea ecx, [rax - 1]
cmp r8d, ecx
jne 0x18000ce6b
mov r8d, ebx
mov dword [r9], 0x22
sub r8d, ebp
je 0x18000cc2a
sub r8d, ebp
je 0x18000cc23
sub r8d, ebp
je 0x18000cc1c
sub r8d, ebp
je 0x18000c77e
cmp r8d, ebp
je 0x18000cc12
mov eax, esi
jmp 0x18000c77e
mov eax, 5
jmp 0x18000c77e
mov eax, ecx
jmp 0x18000c77e
mov eax, edx
jmp 0x18000c77e
mov eax, ebp
jmp 0x18000c77e
mov dword [r9], 0x2f
jmp 0x18000ca9d
mov dword [r9], 0x15
jmp 0x18000c7a2
mov dword [r9], 0x56
jmp 0x18000c7a2
mov dword [r9], 0x55
test ebx, ebx
jmp 0x18000c779
mov dword [r9], 0x37
jmp 0x18000c776
mov ecx, edi
sub ecx, 0xaf
je 0x18000ccd9
sub ecx, ebp
je 0x18000cccd
sub ecx, 5
je 0x18000cc9b
mov eax, 4
cmp ecx, eax
jne 0x18000ce6b
mov dword [r9], 0x39
jmp 0x18000c776
mov dword [r9], 0x61
cmp ebx, 0x41415353
je 0x18000ccbf
cmp ebx, 0x434f5441
je 0x18000ccb6
mov edx, esi
jmp 0x18000ccc4
mov dword [r9 + 4], ebp
jmp 0x18000ceed
mov edx, 2
mov dword [r9 + 4], edx
jmp 0x18000ceed
mov dword [r9], 0x59
jmp 0x18000c776
mov dword [r9], 0x3f
jmp 0x18000c7a2
mov dword [r9], 0x3b
jmp 0x18000ca19
mov eax, 0xc7
cmp edi, eax
jg 0x18000cde8
je 0x18000cddc
mov eax, 0xc0
cmp edi, eax
jg 0x18000cd75
je 0x18000cd69
mov ecx, edi
sub ecx, 0xbb
je 0x18000cd5d
sub ecx, ebp
je 0x18000cd51
sub ecx, ebp
je 0x18000cd45
sub ecx, ebp
je 0x18000cd39
cmp ecx, ebp
jne 0x18000ce6b
mov dword [r9], 0x5b
jmp 0x18000ca9d
mov dword [r9], 0x5a
jmp 0x18000ca9d
mov dword [r9], 0x3a
jmp 0x18000c8b7
mov dword [r9], 0x3d
jmp 0x18000ca19
mov dword [r9], 0x3c
jmp 0x18000ca19
mov dword [r9], 0x5c
jmp 0x18000ca9d
sub edx, 0xc1
je 0x18000cdd0
sub edx, ebp
je 0x18000cdaa
sub edx, ebp
je 0x18000cd9e
mov ecx, 3
cmp edx, ecx
jne 0x18000ce6b
mov dword [r9], 0x4d
jmp 0x18000ca9d
mov dword [r9], 0x40
jmp 0x18000c7a2
mov dword [r9], 0x41
test r8d, r8d
je 0x18000cdc3
movss xmm0, dword [0x1800510b4]
jmp 0x18000c8e1
movss xmm0, dword [0x1800509f0]
jmp 0x18000c8e1
mov dword [r9], 0x38
jmp 0x18000c7a2
mov dword [r9], 0x4e
jmp 0x18000ca9d
mov eax, 0xcd
cmp edi, eax
jg 0x18000ce55
je 0x18000ce49
mov ecx, edi
sub ecx, 0xc8
je 0x18000ce3d
sub ecx, ebp
je 0x18000ce31
sub ecx, ebp
je 0x18000ce25
sub ecx, ebp
je 0x18000ce19
cmp ecx, ebp
jne 0x18000ce6b
mov dword [r9], 0x53
jmp 0x18000ca9d
mov dword [r9], 0x52
jmp 0x18000ca9d
mov dword [r9], 0x51
jmp 0x18000ca9d
mov dword [r9], 0x50
jmp 0x18000ca9d
mov dword [r9], 0x4f
jmp 0x18000ca9d
mov dword [r9], 0x54
jmp 0x18000ca9d
mov ecx, edi
sub ecx, 0xce
je 0x18000ced5
sub ecx, ebp
je 0x18000cecc
sub ecx, ebp
je 0x18000ceb9
cmp ecx, ebp
je 0x18000ce77
mov dword [r9], esi
mov dword [r9 + 4], ebx
mov r10d, esi
jmp 0x18000cee8
mov eax, ebx
mov dword [r9], 0x60
sub eax, ebp
je 0x18000cc2a
sub eax, ebp
je 0x18000ceaf
sub eax, ebp
je 0x18000cea5
sub eax, ebp
je 0x18000ce9b
cmp eax, ebp
jmp 0x18000cc09
mov eax, 4
jmp 0x18000c77e
mov eax, 3
jmp 0x18000c77e
mov eax, 2
jmp 0x18000c77e
mov dword [r9], 0x5f
mov ecx, ebx
call fcn.18000c580
jmp 0x18000c77e
mov dword [r9], 0x5e
jmp 0x18000cec0
test r8d, r8d
mov dword [r9], 0x5d
mov eax, esi
setne al
mov dword [r9 + 4], eax
test r10d, r10d
je 0x18000cf1b
mov edx, esi
movsxd rcx, dword [r9]
lea eax, [rcx - 1]
cmp eax, 0x62
jae 0x18000cf4b
mov rax, rcx
lea rcx, [0x1800539d0]
movzx ecx, byte [rax + rcx]
sub ecx, ebp
cmp dword [r9 + 4], ecx
ja 0x18000cf4b
add edx, ebp
add r9, 8
cmp edx, r10d
jb 0x18000ceef
cmp edi, 0x14
jne 0x18000cf27
mov dword [r11 + 0x49b4], ebx
cmp edi, 0x13
jne 0x18000cf33
mov dword [r11 + 0x49b0], ebx
mov eax, r10d
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
xor ecx, ecx
call fcn.1800092f0
test al, al
je 0x18000cf6f
mov r9d, ebx
lea rdx, str.ConvertRenderState
mov r8d, edi
lea rcx, str._s:_Invalid_Arguments_state_u_value_u._n
call fcn.180026d30
xor eax, eax
jmp 0x18000cf36