Function at 0x47e423
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 0x47e451
mov eax, 0
jmp 0x47f18d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
movzx eax, byte [rax]
movzx eax, al
and eax, 0xdf
cmp eax, 0x43
je 0x47e472
mov eax, 0
jmp 0x47f18d
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 0x47e497
mov eax, 0
jmp 0x47f18d
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 0x47e4bc
mov eax, 0
jmp 0x47f18d
mov dword [0x00c845d8], 0xffffffff
mov dword [0x00c845d4], 3
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 8]
lea edx, [rax - 1]
mov eax, dword [0x00c845d4]
cmp edx, eax
jle 0x47e595
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov eax, dword [0x00c845d4]
cdqe
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [0x00c845dc], eax
mov eax, dword [0x00c845dc]
cmp eax, 0x3a
je 0x47e59f
mov eax, dword [0x00c845dc]
cmp eax, 0x2f
jle 0x47e52b
mov eax, dword [0x00c845dc]
cmp eax, 0x39
jle 0x47e535
mov eax, 0
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47e55f
mov eax, dword [0x00c845dc]
cmp eax, 0x30
jne 0x47e555
mov eax, 0
jmp 0x47f18d
mov dword [0x00c845d8], 0
mov edx, dword [0x00c845d8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0x00c845dc]
sub eax, 0x30
add eax, edx
mov dword [0x00c845d8], eax
mov eax, dword [0x00c845d4]
add eax, 1
mov dword [0x00c845d4], eax
jmp 0x47e4d0
mov eax, 0
jmp 0x47f18d
nop
mov eax, dword [0x00c845d0]
cmp eax, 6
jg 0x47e5c2
mov eax, dword [0x00c845d8]
test eax, eax
jle 0x47e5c2
mov eax, dword [0x00c845d8]
cmp eax, 0xff
jle 0x47e5cc
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x60], dl
mov rax, qword [0x00c845e8]
test rax, rax
jne 0x47e5fd
mov edx, 0
mov ecx, 0
call fcn.004462e2
mov qword [0x00c845e8], rax
mov rcx, qword [rbp + 0x10]
call fcn.00446eee
mov rdx, rax
mov rax, qword [0x00c845e8]
mov rcx, rax
call fcn.004464b0
mov rax, qword [0x00c845e8]
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 [0x00c84604], 0
mov dword [0x00c84608], 0
mov dword [0x00c84600], 1
mov dword [0x00c845f0], 1
mov qword [0x00c845f8], 0
mov dword [0x00c845d8], 0xffffffff
mov eax, dword [0x00c845d4]
add eax, 1
mov dword [0x00c845d4], eax
mov rax, qword [0x00c845e8]
mov edx, dword [rax + 8]
mov eax, dword [0x00c845d4]
cmp edx, eax
jle 0x47efe4
mov rax, qword [0x00c845e8]
mov rdx, qword [rax]
mov eax, dword [0x00c845d4]
cdqe
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [0x00c845dc], eax
mov eax, dword [0x00c845dc]
cmp eax, 0x2c
je 0x47e91a
mov eax, dword [0x00c845dc]
cmp eax, 0x2f
jle 0x47e74f
mov eax, dword [0x00c845dc]
cmp eax, 0x39
jle 0x47e744
mov eax, dword [0x00c845dc]
cmp eax, 0x40
jle 0x47e74f
mov eax, dword [0x00c845dc]
cmp eax, 0x5a
jle 0x47e759
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845f0]
cmp eax, 2
jne 0x47e779
mov eax, dword [0x00c845dc]
cmp eax, 0x40
jle 0x47e779
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845dc]
cmp eax, 0x40
jg 0x47e78e
mov dword [0x00c845f0], 2
mov eax, dword [0x00c845f0]
cmp eax, 1
je 0x47e7a8
mov eax, dword [0x00c84600]
cmp eax, 4
jne 0x47e86d
mov rax, qword [0x00c845f8]
and eax, 0xff0000
test rax, rax
je 0x47e7d7
mov eax, dword [0x00c845dc]
shl eax, 0x18
cdqe
mov rdx, qword [0x00c845f8]
or rax, rdx
mov qword [0x00c845f8], rax
jmp 0x47e850
mov rax, qword [0x00c845f8]
and eax, 0xff00
test rax, rax
je 0x47e806
mov eax, dword [0x00c845dc]
shl eax, 0x10
cdqe
mov rdx, qword [0x00c845f8]
or rax, rdx
mov qword [0x00c845f8], rax
jmp 0x47e850
mov rax, qword [0x00c845f8]
movzx eax, al
test rax, rax
je 0x47e833
mov eax, dword [0x00c845dc]
shl eax, 8
cdqe
mov rdx, qword [0x00c845f8]
or rax, rdx
mov qword [0x00c845f8], rax
jmp 0x47e850
mov eax, dword [0x00c845dc]
cdqe
mov qword [0x00c845f8], rax
mov rax, qword [0x00c845f8]
mov qword [0x00c845f8], rax
mov rax, qword [0x00c845f8]
cmp rax, 0x1000000
jle 0x47e91a
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845dc]
cmp eax, 0x30
jle 0x47e8d1
mov eax, dword [0x00c845dc]
cmp eax, 0x39
jg 0x47e8d1
mov eax, dword [0x00c845d8]
cmp eax, 0xfffffffe
jne 0x47e898
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47e8ad
mov dword [0x00c845d8], 0
mov edx, dword [0x00c845d8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov eax, dword [0x00c845dc]
sub eax, 0x30
add eax, edx
mov dword [0x00c845d8], eax
jmp 0x47e91a
mov eax, dword [0x00c845d8]
cmp eax, 0xfffffffe
jne 0x47e8e6
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47e8fb
mov dword [0x00c845d8], 0xfffffffe
mov eax, dword [0x00c845d8]
test eax, eax
jle 0x47e91a
mov edx, dword [0x00c845d8]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0x00c845d8], eax
mov eax, dword [0x00c845dc]
cmp eax, 0x2c
je 0x47e940
mov rax, qword [0x00c845e8]
mov eax, dword [rax + 8]
lea edx, [rax - 1]
mov eax, dword [0x00c845d4]
cmp edx, eax
jne 0x47efd0
mov eax, dword [0x00c845d8]
cmp eax, 0xfffffffe
jne 0x47e955
mov dword [0x00c845d8], 0
mov eax, dword [0x00c84600]
cmp eax, 1
jne 0x47e9d6
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0xffffffff
je 0x47e976
mov eax, 0xffffffff
jmp 0x47f18d
mov rax, qword [0x00c845f8]
test rax, rax
je 0x47e98c
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
test eax, eax
jne 0x47e9a0
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47e9b5
mov dword [0x00c845d8], 0x12c
mov edx, dword [0x00c845d8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x64], edx
mov eax, dword [0x00c84600]
add eax, 1
mov dword [0x00c84600], eax
jmp 0x47efb1
mov eax, dword [0x00c84600]
cmp eax, 2
jne 0x47eaf4
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x68]
cmp al, 0xff
je 0x47e9fb
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
je 0x47ea10
mov eax, 0xffffffff
jmp 0x47f18d
mov dword [0x00c845d0], 0xffffffff
mov rax, qword [0x00c845f8]
cmp rax, 0x4e
jne 0x47ea31
mov dword [0x00c845d0], 0
mov rax, qword [0x00c845f8]
test rax, rax
jne 0x47ea47
mov dword [0x00c845d0], 1
mov rax, qword [0x00c845f8]
cmp rax, 0x45
jne 0x47ea5e
mov dword [0x00c845d0], 1
mov rax, qword [0x00c845f8]
cmp rax, 0x4f
jne 0x47ea75
mov dword [0x00c845d0], 2
mov rax, qword [0x00c845f8]
cmp rax, 0x53
jne 0x47ea8c
mov dword [0x00c845d0], 3
mov rax, qword [0x00c845f8]
cmp rax, 0x4d
jne 0x47eaa3
mov dword [0x00c845d0], 4
mov rax, qword [0x00c845f8]
cmp rax, 0x4550
jne 0x47eabc
mov dword [0x00c845d0], 5
mov eax, dword [0x00c845d0]
cmp eax, 0xffffffff
jne 0x47ead1
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d0]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x68], dl
mov eax, dword [0x00c84600]
add eax, 1
mov dword [0x00c84600], eax
jmp 0x47efb1
mov eax, dword [0x00c84600]
cmp eax, 3
jne 0x47ebda
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 0xff
je 0x47eb19
mov eax, 0xffffffff
jmp 0x47f18d
mov rax, qword [0x00c845f8]
test rax, rax
je 0x47eb2f
mov eax, 0xffffffff
jmp 0x47f18d
mov dword [0x00c845d0], 0xffffffff
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47eb4e
mov dword [0x00c845d0], 7
mov eax, dword [0x00c845d8]
cmp eax, 5
jne 0x47eb63
mov dword [0x00c845d0], 5
mov eax, dword [0x00c845d8]
cmp eax, 6
jne 0x47eb78
mov dword [0x00c845d0], 6
mov eax, dword [0x00c845d8]
cmp eax, 7
jne 0x47eb8d
mov dword [0x00c845d0], 7
mov eax, dword [0x00c845d8]
cmp eax, 8
jne 0x47eba2
mov dword [0x00c845d0], 8
mov eax, dword [0x00c845d0]
cmp eax, 0xffffffff
jne 0x47ebb7
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d0]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x69], dl
mov eax, dword [0x00c84600]
add eax, 1
mov dword [0x00c84600], eax
jmp 0x47efb1
mov eax, dword [0x00c84600]
cmp eax, 4
jne 0x47ecdf
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6a]
cmp al, 0xff
je 0x47ebff
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
je 0x47ec14
mov eax, 0xffffffff
jmp 0x47f18d
mov dword [0x00c845d0], 0xffffffff
mov rax, qword [0x00c845f8]
test rax, rax
jne 0x47ec60
mov dword [0x00c845d0], 0xa
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0x6e
jg 0x47ec60
mov dword [0x00c845d0], 0x14
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 5
jne 0x47ec60
mov dword [0x00c845d0], 0xf
mov rax, qword [0x00c845f8]
cmp rax, 0x31
jne 0x47ec77
mov dword [0x00c845d0], 0xa
mov rax, qword [0x00c845f8]
cmp rax, 0x352e31
jne 0x47ec90
mov dword [0x00c845d0], 0xf
mov rax, qword [0x00c845f8]
cmp rax, 0x32
jne 0x47eca7
mov dword [0x00c845d0], 0x14
mov eax, dword [0x00c845d0]
cmp eax, 0xffffffff
jne 0x47ecbc
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d0]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6a], dl
mov eax, dword [0x00c84600]
add eax, 1
mov dword [0x00c84600], eax
jmp 0x47efb1
mov rax, qword [0x00c845f8]
test rax, rax
jne 0x47ecf5
mov eax, 0xffffffff
jmp 0x47f18d
mov rax, qword [0x00c845f8]
cmp rax, 0x5352
jne 0x47ed27
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6d]
cmp al, 0xff
je 0x47ed1a
mov eax, 0xffffffff
jmp 0x47f18d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6d], 1
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x4e4942
jne 0x47ed59
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6b]
cmp al, 0xff
je 0x47ed4c
mov eax, 0xffffffff
jmp 0x47f18d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6b], 0
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x435341
jne 0x47ed8b
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6b]
cmp al, 0xff
je 0x47ed7e
mov eax, 0xffffffff
jmp 0x47f18d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6b], 1
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x4254
jne 0x47edbd
mov eax, dword [0x00c84608]
test eax, eax
je 0x47edae
mov eax, 0xffffffff
jmp 0x47f18d
mov dword [0x00c84608], 1
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x4252
jne 0x47edef
mov eax, dword [0x00c84604]
test eax, eax
je 0x47ede0
mov eax, 0xffffffff
jmp 0x47f18d
mov dword [0x00c84604], 1
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x464c
jne 0x47ee21
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6c]
cmp al, 0xff
je 0x47ee14
mov eax, 0xffffffff
jmp 0x47f18d
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6c], 1
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x4443
jne 0x47ee84
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x70]
cmp eax, 0xffffffff
je 0x47ee46
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47ee5b
mov dword [0x00c845d8], 0
mov eax, dword [0x00c845d8]
cmp eax, 0xffff
jle 0x47ee72
mov eax, 0xffffffff
jmp 0x47f18d
mov edx, dword [0x00c845d8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x70], edx
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x5343
jne 0x47eee7
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x74]
cmp eax, 0xffffffff
je 0x47eea9
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47eebe
mov dword [0x00c845d8], 0x3e8
mov eax, dword [0x00c845d8]
cmp eax, 0xffff
jle 0x47eed5
mov eax, 0xffffffff
jmp 0x47f18d
mov edx, dword [0x00c845d8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x74], edx
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x5344
jne 0x47ef47
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x78]
cmp eax, 0xffffffff
je 0x47ef0c
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47ef21
mov dword [0x00c845d8], 0x3e8
mov eax, dword [0x00c845d8]
cmp eax, 0xffff
jle 0x47ef38
mov eax, 0xffffffff
jmp 0x47f18d
mov edx, dword [0x00c845d8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x78], edx
jmp 0x47efb1
mov rax, qword [0x00c845f8]
cmp rax, 0x504f
jne 0x47efa7
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x7c]
cmp eax, 0xffffffff
je 0x47ef6c
mov eax, 0xffffffff
jmp 0x47f18d
mov eax, dword [0x00c845d8]
cmp eax, 0xffffffff
jne 0x47ef81
mov dword [0x00c845d8], 0x2710
mov eax, dword [0x00c845d8]
cmp eax, 0xffff
jle 0x47ef98
mov eax, 0xffffffff
jmp 0x47f18d
mov edx, dword [0x00c845d8]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x7c], edx
jmp 0x47efb1
mov eax, 0xffffffff
jmp 0x47f18d
mov dword [0x00c845f0], 1
mov qword [0x00c845f8], 0
mov dword [0x00c845d8], 0xffffffff
mov eax, dword [0x00c845d4]
add eax, 1
mov dword [0x00c845d4], eax
jmp 0x47e6db
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0xffffffff
jne 0x47effb
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x64], 0x12c
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x68]
cmp al, 0xff
jne 0x47f00f
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x68], 1
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 0xff
jne 0x47f023
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x69], 7
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6a]
cmp al, 0xff
jne 0x47f074
mov dword [0x00c845d0], 0xa
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x64]
cmp eax, 0x6e
jg 0x47f065
mov dword [0x00c845d0], 0x14
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x69]
cmp al, 5
jne 0x47f065
mov dword [0x00c845d0], 0xf
mov eax, dword [0x00c845d0]
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 0x47f088
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6b], 0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6c]
cmp al, 0xff
jne 0x47f09c
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6c], 0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6c]
cmp al, 1
jne 0x47f0bc
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6b]
test al, al
jne 0x47f0bc
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6c], 0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x6d]
cmp al, 0xff
jne 0x47f0d0
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x6d], 0
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x70]
cmp eax, 0xffffffff
jne 0x47f0e7
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x70], 0
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x74]
cmp eax, 0xffffffff
jne 0x47f0fe
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x74], 0x3e8
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x78]
cmp eax, 0xffffffff
jne 0x47f115
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x78], 0x3e8
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x7c]
cmp eax, 0xffffffff
jne 0x47f18d
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x70]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov dword [0x00c845d0], 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 [0x00c845e0], eax
mov edx, dword [0x00c845e0]
mov eax, dword [0x00c845d0]
cmp edx, eax
jle 0x47f169
mov eax, dword [0x00c845e0]
mov dword [0x00c845d0], eax
mov eax, dword [0x00c845d0]
cmp eax, 0xffff
jle 0x47f180
mov dword [0x00c845d0], 0xffff
mov edx, dword [0x00c845d0]
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x7c], edx
add rsp, 0x20
pop rbp
ret