Function at 0x47e503
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x60], 0
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 8]
cmp eax, 3
jg 0x47e531
mov eax, 0
jmp 0x47f26d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
movzx eax, byte [rax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x43
je 0x47e552
mov eax, 0
jmp 0x47f26d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
add rax, 1
movzx eax, byte [rax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x4f
je 0x47e577
mov eax, 0
jmp 0x47f26d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
add rax, 2
movzx eax, byte [rax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x4d
je 0x47e59c
mov eax, 0
jmp 0x47f26d
mov dword [0x00c845f8], 0xffffffff
mov dword [0x00c845f4], 3
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 8]
lea edx, [rax - 1]
mov eax, dword [0x00c845f4]
cmp edx, eax
jle 0x47e675
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov eax, dword [0x00c845f4]
cdqe
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [0x00c845fc], eax
mov eax, dword [0x00c845fc]
cmp eax, 0x3a
je 0x47e67f
mov eax, dword [0x00c845fc]
cmp eax, 0x2f
jle 0x47e60b
mov eax, dword [0x00c845fc]
cmp eax, 0x39
jle 0x47e615
mov eax, 0
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47e63f
mov eax, dword [0x00c845fc]
cmp eax, 0x30
jne 0x47e635
mov eax, 0
jmp 0x47f26d
mov dword [0x00c845f8], 0
mov edx, dword [0x00c845f8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0x00c845fc]
sub eax, 0x30
add eax, edx
mov dword [0x00c845f8], eax
mov eax, dword [0x00c845f4]
add eax, 1
mov dword [0x00c845f4], eax
jmp 0x47e5b0
mov eax, 0
jmp 0x47f26d
nop
mov eax, dword [0x00c845f0]
cmp eax, 6
jg 0x47e6a2
mov eax, dword [0x00c845f8]
test eax, eax
jle 0x47e6a2
mov eax, dword [0x00c845f8]
cmp eax, 0xff
jle 0x47e6ac
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x60], dl
mov rax, qword [0x00c84608]
test rax, rax
jne 0x47e6dd
mov edx, 0
mov ecx, 0
call fcn.004463c2
mov qword [0x00c84608], rax
mov rcx, qword [rbp + 0x10]
call fcn.00446fce
mov rdx, rax
mov rax, qword [0x00c84608]
mov rcx, rax
call fcn.00446590
mov rax, qword [0x00c84608]
mov edx, dword [rax + 8]
sub edx, 1
mov dword [rax + 8], edx
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x64], 0xffffffff
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x68], 0xff
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x69], 0xff
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6a], 0xff
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6d], 0xff
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6b], 0xff
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6c], 0xff
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x70], 0xffffffff
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x74], 0xffffffff
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x78], 0xffffffff
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x7c], 0xffffffff
mov dword [0x00c84624], 0
mov dword [0x00c84628], 0
mov dword [0x00c84620], 1
mov dword [0x00c84610], 1
mov qword [0x00c84618], 0
mov dword [0x00c845f8], 0xffffffff
mov eax, dword [0x00c845f4]
add eax, 1
mov dword [0x00c845f4], eax
mov rax, qword [0x00c84608]
mov edx, dword [rax + 8]
mov eax, dword [0x00c845f4]
cmp edx, eax
jle 0x47f0c4
mov rax, qword [0x00c84608]
mov rdx, qword [rax]
mov eax, dword [0x00c845f4]
cdqe
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [0x00c845fc], eax
mov eax, dword [0x00c845fc]
cmp eax, 0x2c
je 0x47e9fa
mov eax, dword [0x00c845fc]
cmp eax, 0x2f
jle 0x47e82f
mov eax, dword [0x00c845fc]
cmp eax, 0x39
jle 0x47e824
mov eax, dword [0x00c845fc]
cmp eax, 0x40
jle 0x47e82f
mov eax, dword [0x00c845fc]
cmp eax, 0x5a
jle 0x47e839
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c84610]
cmp eax, 2
jne 0x47e859
mov eax, dword [0x00c845fc]
cmp eax, 0x40
jle 0x47e859
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845fc]
cmp eax, 0x40
jg 0x47e86e
mov dword [0x00c84610], 2
mov eax, dword [0x00c84610]
cmp eax, 1
je 0x47e888
mov eax, dword [0x00c84620]
cmp eax, 4
jne 0x47e94d
mov rax, qword [0x00c84618]
and eax, 0xff0000
test rax, rax
je 0x47e8b7
mov eax, dword [0x00c845fc]
shl eax, 0x18
cdqe
mov rdx, qword [0x00c84618]
or rax, rdx
mov qword [0x00c84618], rax
jmp 0x47e930
mov rax, qword [0x00c84618]
and eax, 0xff00
test rax, rax
je 0x47e8e6
mov eax, dword [0x00c845fc]
shl eax, 0x10
cdqe
mov rdx, qword [0x00c84618]
or rax, rdx
mov qword [0x00c84618], rax
jmp 0x47e930
mov rax, qword [0x00c84618]
movzx eax, al
test rax, rax
je 0x47e913
mov eax, dword [0x00c845fc]
shl eax, 8
cdqe
mov rdx, qword [0x00c84618]
or rax, rdx
mov qword [0x00c84618], rax
jmp 0x47e930
mov eax, dword [0x00c845fc]
cdqe
mov qword [0x00c84618], rax
mov rax, qword [0x00c84618]
mov qword [0x00c84618], rax
mov rax, qword [0x00c84618]
cmp rax, 0x1000000
jle 0x47e9fa
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845fc]
cmp eax, 0x30
jle 0x47e9b1
mov eax, dword [0x00c845fc]
cmp eax, 0x39
jg 0x47e9b1
mov eax, dword [0x00c845f8]
cmp eax, 0xfffffffe
jne 0x47e978
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47e98d
mov dword [0x00c845f8], 0
mov edx, dword [0x00c845f8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0x00c845fc]
sub eax, 0x30
add eax, edx
mov dword [0x00c845f8], eax
jmp 0x47e9fa
mov eax, dword [0x00c845f8]
cmp eax, 0xfffffffe
jne 0x47e9c6
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47e9db
mov dword [0x00c845f8], 0xfffffffe
mov eax, dword [0x00c845f8]
test eax, eax
jle 0x47e9fa
mov edx, dword [0x00c845f8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0x00c845f8], eax
mov eax, dword [0x00c845fc]
cmp eax, 0x2c
je 0x47ea20
mov rax, qword [0x00c84608]
mov eax, dword [rax + 8]
lea edx, [rax - 1]
mov eax, dword [0x00c845f4]
cmp edx, eax
jne 0x47f0b0
mov eax, dword [0x00c845f8]
cmp eax, 0xfffffffe
jne 0x47ea35
mov dword [0x00c845f8], 0
mov eax, dword [0x00c84620]
cmp eax, 1
jne 0x47eab6
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0xffffffff
je 0x47ea56
mov eax, 0xffffffff
jmp 0x47f26d
mov rax, qword [0x00c84618]
test rax, rax
je 0x47ea6c
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
test eax, eax
jne 0x47ea80
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47ea95
mov dword [0x00c845f8], 0x12c
mov edx, dword [0x00c845f8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x64], edx
mov eax, dword [0x00c84620]
add eax, 1
mov dword [0x00c84620], eax
jmp 0x47f091
mov eax, dword [0x00c84620]
cmp eax, 2
jne 0x47ebd4
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x68]
cmp al, 0xff
je 0x47eadb
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
je 0x47eaf0
mov eax, 0xffffffff
jmp 0x47f26d
mov dword [0x00c845f0], 0xffffffff
mov rax, qword [0x00c84618]
cmp rax, 0x4e
jne 0x47eb11
mov dword [0x00c845f0], 0
mov rax, qword [0x00c84618]
test rax, rax
jne 0x47eb27
mov dword [0x00c845f0], 1
mov rax, qword [0x00c84618]
cmp rax, 0x45
jne 0x47eb3e
mov dword [0x00c845f0], 1
mov rax, qword [0x00c84618]
cmp rax, 0x4f
jne 0x47eb55
mov dword [0x00c845f0], 2
mov rax, qword [0x00c84618]
cmp rax, 0x53
jne 0x47eb6c
mov dword [0x00c845f0], 3
mov rax, qword [0x00c84618]
cmp rax, 0x4d
jne 0x47eb83
mov dword [0x00c845f0], 4
mov rax, qword [0x00c84618]
cmp rax, 0x4550
jne 0x47eb9c
mov dword [0x00c845f0], 5
mov eax, dword [0x00c845f0]
cmp eax, 0xffffffff
jne 0x47ebb1
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f0]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x68], dl
mov eax, dword [0x00c84620]
add eax, 1
mov dword [0x00c84620], eax
jmp 0x47f091
mov eax, dword [0x00c84620]
cmp eax, 3
jne 0x47ecba
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 0xff
je 0x47ebf9
mov eax, 0xffffffff
jmp 0x47f26d
mov rax, qword [0x00c84618]
test rax, rax
je 0x47ec0f
mov eax, 0xffffffff
jmp 0x47f26d
mov dword [0x00c845f0], 0xffffffff
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47ec2e
mov dword [0x00c845f0], 7
mov eax, dword [0x00c845f8]
cmp eax, 5
jne 0x47ec43
mov dword [0x00c845f0], 5
mov eax, dword [0x00c845f8]
cmp eax, 6
jne 0x47ec58
mov dword [0x00c845f0], 6
mov eax, dword [0x00c845f8]
cmp eax, 7
jne 0x47ec6d
mov dword [0x00c845f0], 7
mov eax, dword [0x00c845f8]
cmp eax, 8
jne 0x47ec82
mov dword [0x00c845f0], 8
mov eax, dword [0x00c845f0]
cmp eax, 0xffffffff
jne 0x47ec97
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f0]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x69], dl
mov eax, dword [0x00c84620]
add eax, 1
mov dword [0x00c84620], eax
jmp 0x47f091
mov eax, dword [0x00c84620]
cmp eax, 4
jne 0x47edbf
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6a]
cmp al, 0xff
je 0x47ecdf
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
je 0x47ecf4
mov eax, 0xffffffff
jmp 0x47f26d
mov dword [0x00c845f0], 0xffffffff
mov rax, qword [0x00c84618]
test rax, rax
jne 0x47ed40
mov dword [0x00c845f0], 0xa
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0x6e
jg 0x47ed40
mov dword [0x00c845f0], 0x14
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 5
jne 0x47ed40
mov dword [0x00c845f0], 0xf
mov rax, qword [0x00c84618]
cmp rax, 0x31
jne 0x47ed57
mov dword [0x00c845f0], 0xa
mov rax, qword [0x00c84618]
cmp rax, 0x352e31
jne 0x47ed70
mov dword [0x00c845f0], 0xf
mov rax, qword [0x00c84618]
cmp rax, 0x32
jne 0x47ed87
mov dword [0x00c845f0], 0x14
mov eax, dword [0x00c845f0]
cmp eax, 0xffffffff
jne 0x47ed9c
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f0]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6a], dl
mov eax, dword [0x00c84620]
add eax, 1
mov dword [0x00c84620], eax
jmp 0x47f091
mov rax, qword [0x00c84618]
test rax, rax
jne 0x47edd5
mov eax, 0xffffffff
jmp 0x47f26d
mov rax, qword [0x00c84618]
cmp rax, 0x5352
jne 0x47ee07
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6d]
cmp al, 0xff
je 0x47edfa
mov eax, 0xffffffff
jmp 0x47f26d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6d], 1
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x4e4942
jne 0x47ee39
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6b]
cmp al, 0xff
je 0x47ee2c
mov eax, 0xffffffff
jmp 0x47f26d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6b], 0
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x435341
jne 0x47ee6b
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6b]
cmp al, 0xff
je 0x47ee5e
mov eax, 0xffffffff
jmp 0x47f26d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6b], 1
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x4254
jne 0x47ee9d
mov eax, dword [0x00c84628]
test eax, eax
je 0x47ee8e
mov eax, 0xffffffff
jmp 0x47f26d
mov dword [0x00c84628], 1
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x4252
jne 0x47eecf
mov eax, dword [0x00c84624]
test eax, eax
je 0x47eec0
mov eax, 0xffffffff
jmp 0x47f26d
mov dword [0x00c84624], 1
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x464c
jne 0x47ef01
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6c]
cmp al, 0xff
je 0x47eef4
mov eax, 0xffffffff
jmp 0x47f26d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6c], 1
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x4443
jne 0x47ef64
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x70]
cmp eax, 0xffffffff
je 0x47ef26
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47ef3b
mov dword [0x00c845f8], 0
mov eax, dword [0x00c845f8]
cmp eax, 0xffff
jle 0x47ef52
mov eax, 0xffffffff
jmp 0x47f26d
mov edx, dword [0x00c845f8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x70], edx
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x5343
jne 0x47efc7
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x74]
cmp eax, 0xffffffff
je 0x47ef89
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47ef9e
mov dword [0x00c845f8], 0x3e8
mov eax, dword [0x00c845f8]
cmp eax, 0xffff
jle 0x47efb5
mov eax, 0xffffffff
jmp 0x47f26d
mov edx, dword [0x00c845f8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x74], edx
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x5344
jne 0x47f027
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x78]
cmp eax, 0xffffffff
je 0x47efec
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47f001
mov dword [0x00c845f8], 0x3e8
mov eax, dword [0x00c845f8]
cmp eax, 0xffff
jle 0x47f018
mov eax, 0xffffffff
jmp 0x47f26d
mov edx, dword [0x00c845f8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x78], edx
jmp 0x47f091
mov rax, qword [0x00c84618]
cmp rax, 0x504f
jne 0x47f087
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x7c]
cmp eax, 0xffffffff
je 0x47f04c
mov eax, 0xffffffff
jmp 0x47f26d
mov eax, dword [0x00c845f8]
cmp eax, 0xffffffff
jne 0x47f061
mov dword [0x00c845f8], 0x2710
mov eax, dword [0x00c845f8]
cmp eax, 0xffff
jle 0x47f078
mov eax, 0xffffffff
jmp 0x47f26d
mov edx, dword [0x00c845f8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x7c], edx
jmp 0x47f091
mov eax, 0xffffffff
jmp 0x47f26d
mov dword [0x00c84610], 1
mov qword [0x00c84618], 0
mov dword [0x00c845f8], 0xffffffff
mov eax, dword [0x00c845f4]
add eax, 1
mov dword [0x00c845f4], eax
jmp 0x47e7bb
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0xffffffff
jne 0x47f0db
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x64], 0x12c
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x68]
cmp al, 0xff
jne 0x47f0ef
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x68], 1
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 0xff
jne 0x47f103
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x69], 7
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6a]
cmp al, 0xff
jne 0x47f154
mov dword [0x00c845f0], 0xa
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0x6e
jg 0x47f145
mov dword [0x00c845f0], 0x14
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 5
jne 0x47f145
mov dword [0x00c845f0], 0xf
mov eax, dword [0x00c845f0]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6a], dl
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6b]
cmp al, 0xff
jne 0x47f168
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6b], 0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6c]
cmp al, 0xff
jne 0x47f17c
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6c], 0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6c]
cmp al, 1
jne 0x47f19c
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6b]
test al, al
jne 0x47f19c
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6c], 0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6d]
cmp al, 0xff
jne 0x47f1b0
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6d], 0
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x70]
cmp eax, 0xffffffff
jne 0x47f1c7
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x70], 0
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x74]
cmp eax, 0xffffffff
jne 0x47f1de
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x74], 0x3e8
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x78]
cmp eax, 0xffffffff
jne 0x47f1f5
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x78], 0x3e8
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x7c]
cmp eax, 0xffffffff
jne 0x47f26d
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x70]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0x00c845f0], eax
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x78]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0x00c84600], eax
mov edx, dword [0x00c84600]
mov eax, dword [0x00c845f0]
cmp edx, eax
jle 0x47f249
mov eax, dword [0x00c84600]
mov dword [0x00c845f0], eax
mov eax, dword [0x00c845f0]
cmp eax, 0xffff
jle 0x47f260
mov dword [0x00c845f0], 0xffff
mov edx, dword [0x00c845f0]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x7c], edx
add rsp, 0x20
pop rbp
ret